Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",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/Buildings 8.0.0/package.mo): time 2.267/2.267, allocations: 284.8 MB / 292.1 MB, free: 1.551 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 187.5 kB / 360.3 MB, free: 15.64 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.1 MB / 0.6187 GB, free: 6.66 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001331/0.001317, allocations: 92.33 kB / 0.7317 GB, free: 46.84 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2775/0.2789, allocations: 121.4 MB / 0.8502 GB, free: 13.68 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6279/0.9068, allocations: 115.2 MB / 0.9627 GB, free: 86.39 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/2.013, allocations: 453.7 MB / 1.406 GB, free: 133.7 MB / 0.8624 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/2.013, allocations: 94.39 kB / 1.406 GB, free: 133.6 MB / 0.8624 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 5.328/7.342, allocations: 1.17 GB / 2.576 GB, free: 114 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/7.342, allocations: 9.062 kB / 2.576 GB, free: 114 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004647/7.346, allocations: 484.8 kB / 2.577 GB, free: 113.8 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/7.358, allocations: 2.315 MB / 2.579 GB, free: 112.3 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/7.358, allocations: 37.84 kB / 2.579 GB, free: 112.3 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005265/7.359, allocations: 80.17 kB / 2.579 GB, free: 112.3 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00339/7.362, allocations: 0.7851 MB / 2.58 GB, free: 112 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/7.366, allocations: 1.095 MB / 2.581 GB, free: 111.2 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/7.366, allocations: 6.531 kB / 2.581 GB, free: 111.2 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/7.366, allocations: 5.25 kB / 2.581 GB, free: 111.2 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-05/7.366, allocations: 30.41 kB / 2.581 GB, free: 111.2 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01568/7.382, allocations: 6.921 MB / 2.588 GB, free: 104.5 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/7.384, allocations: 0.6156 MB / 2.588 GB, free: 103.9 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008145/7.385, allocations: 328.8 kB / 2.589 GB, free: 103.6 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007298/7.392, allocations: 2.824 MB / 2.591 GB, free: 100.5 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008162/7.393, allocations: 336.8 kB / 2.592 GB, free: 100.1 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=64): time 4.068e-06/7.393, allocations: 0 / 2.592 GB, free: 100.1 MB / 0.9405 GB Notification: Performance of matching and sorting (n=64): time 0.004172/7.397, allocations: 0.8569 MB / 2.593 GB, free: 99.25 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/7.397, allocations: 166.9 kB / 2.593 GB, free: 99.05 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/7.4, allocations: 1.244 MB / 2.594 GB, free: 97.81 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 0.0002791/7.401, allocations: 29.7 kB / 2.594 GB, free: 97.77 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005988/7.401, allocations: 0.5754 MB / 2.595 GB, free: 97.19 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/7.402, allocations: 227.9 kB / 2.595 GB, free: 96.96 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.743e-05/7.402, allocations: 0 / 2.595 GB, free: 96.96 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 0.0001007/7.402, allocations: 345.9 kB / 2.595 GB, free: 96.62 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007364/7.403, allocations: 270.2 kB / 2.595 GB, free: 96.36 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009947/7.404, allocations: 0.7024 MB / 2.596 GB, free: 95.46 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002866/7.407, allocations: 0.549 MB / 2.597 GB, free: 94.94 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/7.407, allocations: 4 kB / 2.597 GB, free: 94.93 MB / 0.9405 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005188/7.412, allocations: 1.197 MB / 2.598 GB, free: 93.74 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 0.001062/7.413, allocations: 4.499 MB / 2.602 GB, free: 88.89 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.928e-05/7.413, allocations: 15.03 kB / 2.602 GB, free: 88.88 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.446e-05/7.413, allocations: 20 kB / 2.602 GB, free: 88.86 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/7.415, allocations: 263.2 kB / 2.602 GB, free: 88.61 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/7.415, allocations: 23.92 kB / 2.602 GB, free: 88.59 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/7.418, allocations: 161.2 kB / 2.603 GB, free: 88.43 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/7.418, allocations: 59.98 kB / 2.603 GB, free: 88.38 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/7.418, allocations: 8.812 kB / 2.603 GB, free: 88.37 MB / 0.9405 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004169/7.423, allocations: 0.9655 MB / 2.604 GB, free: 87.42 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-05/7.423, allocations: 14.75 kB / 2.604 GB, free: 87.41 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/7.423, allocations: 23.91 kB / 2.604 GB, free: 87.38 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/7.425, allocations: 255.2 kB / 2.604 GB, free: 87.14 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.386e-05/7.425, allocations: 31.3 kB / 2.604 GB, free: 87.11 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/7.427, allocations: 125.7 kB / 2.604 GB, free: 86.99 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/7.427, allocations: 55.98 kB / 2.604 GB, free: 86.94 MB / 0.9405 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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 0.0003677/7.428, allocations: 143.7 kB / 2.604 GB, free: 86.79 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000444/7.428, allocations: 169.8 kB / 2.604 GB, free: 86.62 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/7.433, allocations: 1.124 MB / 2.606 GB, free: 85.52 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/7.433, allocations: 19.36 kB / 2.606 GB, free: 85.5 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/7.433, allocations: 0 / 2.606 GB, free: 85.5 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002767/7.436, allocations: 0.9092 MB / 2.606 GB, free: 84.54 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00681/7.443, allocations: 2.129 MB / 2.608 GB, free: 82.38 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/7.443, allocations: 0 / 2.608 GB, free: 82.38 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/7.444, allocations: 150.3 kB / 2.609 GB, free: 82.24 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002826/7.444, allocations: 24.84 kB / 2.609 GB, free: 82.21 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/7.445, allocations: 15.98 kB / 2.609 GB, free: 82.2 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/7.446, allocations: 1.258 MB / 2.61 GB, free: 80.84 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/7.446, allocations: 0 / 2.61 GB, free: 80.84 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004714/7.451, allocations: 1.443 MB / 2.611 GB, free: 79.36 MB / 0.9405 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0057/7.457, allocations: 2.271 MB / 2.614 GB, free: 77.06 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/7.458, allocations: 346.7 kB / 2.614 GB, free: 76.7 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/7.458, allocations: 4 kB / 2.614 GB, free: 76.7 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/7.46, allocations: 74.17 kB / 2.614 GB, free: 76.63 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/7.46, allocations: 63.34 kB / 2.614 GB, free: 76.57 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/7.46, allocations: 27.98 kB / 2.614 GB, free: 76.55 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.00196/7.462, allocations: 0.9312 MB / 2.615 GB, free: 75.62 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.009249/7.472, allocations: 1.314 MB / 2.616 GB, free: 74.31 MB / 0.9405 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003477/7.475, allocations: 1.222 MB / 2.617 GB, free: 73.38 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.003583/7.479, allocations: 1.37 MB / 2.619 GB, free: 72 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/7.479, allocations: 0 / 2.619 GB, free: 72 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/7.48, allocations: 455.4 kB / 2.619 GB, free: 71.55 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005518/7.486, allocations: 0.6103 MB / 2.62 GB, free: 70.99 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008744/7.494, allocations: 2.384 MB / 2.622 GB, free: 68.61 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/7.497, allocations: 1.581 MB / 2.624 GB, free: 67 MB / 0.9405 GB Notification: Performance of SimCode: time 1.313e-06/7.497, allocations: 0 / 2.624 GB, free: 67 MB / 0.9405 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)