Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8405/0.8405, allocations: 141.8 MB / 149.1 MB, free: 1.355 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 181.2 kB / 181.9 MB, free: 0.7539 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 221.3 MB / 436 MB, free: 5.461 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 96.52 kB / 0.507 GB, free: 2.137 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001663/0.001663, allocations: 283.3 kB / 0.5885 GB, free: 47.27 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.313/0.3147, allocations: 89.62 MB / 0.676 GB, free: 59.5 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.448, allocations: 82.78 MB / 0.7568 GB, free: 0.6328 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.5819, allocations: 109.9 MB / 0.8641 GB, free: 2.582 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.5822, allocations: 77.98 kB / 0.8642 GB, free: 2.508 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.2578/0.84, allocations: 5.03 MB / 0.8691 GB, free: 109.6 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.8401, allocations: 8.969 kB / 0.8691 GB, free: 109.6 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.8402, allocations: 22.41 kB / 0.8691 GB, free: 109.6 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.8404, allocations: 209.1 kB / 0.8693 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.8404, allocations: 5.094 kB / 0.8693 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.8404, allocations: 1.344 kB / 0.8693 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001515/0.8406, allocations: 48.17 kB / 0.8694 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.8407, allocations: 54.67 kB / 0.8694 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.8407, allocations: 0 / 0.8694 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.8407, allocations: 4.219 kB / 0.8694 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.8407, allocations: 0.625 kB / 0.8695 GB, free: 109.3 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.8413, allocations: 329 kB / 0.8698 GB, free: 109.1 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.8414, allocations: 59.53 kB / 0.8698 GB, free: 109 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.8415, allocations: 30.98 kB / 0.8699 GB, free: 109 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-05/0.8416, allocations: 10.52 kB / 0.8699 GB, free: 109 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.8416, allocations: 31.5 kB / 0.8699 GB, free: 109 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.8416, allocations: 4 kB / 0.8699 GB, free: 109 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2): time 0.0003114/0.8419, allocations: 99 kB / 0.87 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.994e-05/0.8419, allocations: 52.47 kB / 0.87 GB, free: 108.9 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.8422, allocations: 212.4 kB / 0.8702 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.8422, allocations: 26.61 kB / 0.8703 GB, free: 108.8 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/0.8422, allocations: 100.7 kB / 0.8704 GB, free: 108.7 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.8423, allocations: 13.48 kB / 0.8704 GB, free: 108.7 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.8423, allocations: 0 / 0.8704 GB, free: 108.7 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/0.8424, allocations: 333.5 kB / 0.8707 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.8424, allocations: 21.97 kB / 0.8707 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.044e-05/0.8425, allocations: 24.89 kB / 0.8707 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.153e-05/0.8425, allocations: 25.89 kB / 0.8708 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8426, allocations: 0 / 0.8708 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001841/0.8427, allocations: 98.58 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.8428, allocations: 4.125 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8428, allocations: 2 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.8428, allocations: 0 / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.8429, allocations: 17.12 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.8429, allocations: 1.594 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.137e-05/0.843, allocations: 9.25 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.8431, allocations: 2.094 kB / 0.8709 GB, free: 108.3 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.8431, allocations: 107.8 kB / 0.871 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.8432, allocations: 22 kB / 0.871 GB, free: 108.2 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.8434, allocations: 119.9 kB / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8434, allocations: 0 / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8434, allocations: 0.6094 kB / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8434, allocations: 1.75 kB / 0.8711 GB, free: 108.1 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.8437, allocations: 203.3 kB / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.8437, allocations: 0 / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.055e-05/0.8438, allocations: 17.38 kB / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.8438, allocations: 2.297 kB / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.8438, allocations: 0 / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.8438, allocations: 1.5 kB / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8438, allocations: 0.7031 kB / 0.8713 GB, free: 108 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002053/0.844, allocations: 192.4 kB / 0.8715 GB, free: 107.8 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000271/0.8443, allocations: 0.5658 MB / 0.8721 GB, free: 107.3 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.8444, allocations: 94.94 kB / 0.8722 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.483e-05/0.8444, allocations: 1.812 kB / 0.8722 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.8445, allocations: 8.109 kB / 0.8722 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.8446, allocations: 8.188 kB / 0.8722 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.8446, allocations: 3.156 kB / 0.8722 GB, free: 107.2 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0001775/0.8448, allocations: 178.1 kB / 0.8724 GB, free: 107.1 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009306/0.8457, allocations: 44.14 kB / 0.8724 GB, free: 107.1 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002688/0.846, allocations: 152.8 kB / 0.8726 GB, free: 107 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.8461, allocations: 41.22 kB / 0.8726 GB, free: 107 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8461, allocations: 0 / 0.8726 GB, free: 107 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.8462, allocations: 21.53 kB / 0.8726 GB, free: 107 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.8465, allocations: 58.17 kB / 0.8727 GB, free: 107 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.847, allocations: 215.2 kB / 0.8729 GB, free: 106.9 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.8472, allocations: 0.7485 MB / 0.8736 GB, free: 106.2 MB / 0.5419 GB Notification: Performance of SimCode: time 2.7e-07/0.8472, allocations: 0 / 0.8736 GB, free: 106.2 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)