Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.251/1.251, allocations: 249.4 MB / 256.7 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009691/0.0009692, allocations: 185.2 kB / 316 MB, free: 3.566 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008801/0.0008799, allocations: 82.22 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3637/0.3646, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.5321, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.592, allocations: 447.3 MB / 1.321 GB, free: 299.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.592, allocations: 94.94 kB / 1.322 GB, free: 299.7 MB / 0.8698 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 2.977/4.569, allocations: 1.138 GB / 2.46 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/4.569, allocations: 14.44 kB / 2.46 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002437/4.571, allocations: 484.6 kB / 2.46 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006427/4.578, allocations: 2.313 MB / 2.462 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/4.578, allocations: 36 kB / 2.462 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/4.578, allocations: 76.25 kB / 2.462 GB, free: 121.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001691/4.58, allocations: 0.7833 MB / 2.463 GB, free: 121 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/4.582, allocations: 1.09 MB / 2.464 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/4.582, allocations: 5.312 kB / 2.464 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/4.582, allocations: 3.906 kB / 2.464 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/4.582, allocations: 32.03 kB / 2.464 GB, free: 120.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008017/4.59, allocations: 6.922 MB / 2.471 GB, free: 115.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009006/4.591, allocations: 0.6182 MB / 2.472 GB, free: 115 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/4.591, allocations: 323.8 kB / 2.472 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004161/4.596, allocations: 2.82 MB / 2.475 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004806/4.596, allocations: 339 kB / 2.475 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=64): time 2.645e-06/4.596, allocations: 0 / 2.475 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64): time 0.00237/4.599, allocations: 0.8575 MB / 2.476 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/4.599, allocations: 166.6 kB / 2.476 GB, free: 111.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/4.601, allocations: 1.249 MB / 2.477 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.394e-05/4.601, allocations: 28.67 kB / 2.477 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005445/4.601, allocations: 0.5762 MB / 2.478 GB, free: 111 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002219/4.602, allocations: 224.3 kB / 2.478 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/4.602, allocations: 0 / 2.478 GB, free: 110.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/4.602, allocations: 345.2 kB / 2.478 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/4.602, allocations: 271.1 kB / 2.479 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005884/4.603, allocations: 0.7016 MB / 2.479 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/4.604, allocations: 0.5475 MB / 2.48 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/4.604, allocations: 4.469 kB / 2.48 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003028/4.607, allocations: 1.195 MB / 2.481 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008886/4.608, allocations: 4.506 MB / 2.485 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.11e-05/4.608, allocations: 13.14 kB / 2.485 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.828e-05/4.608, allocations: 18.84 kB / 2.485 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/4.61, allocations: 260.4 kB / 2.486 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.943e-05/4.61, allocations: 23.06 kB / 2.486 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/4.611, allocations: 165.3 kB / 2.486 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/4.611, allocations: 60.83 kB / 2.486 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/4.611, allocations: 3.656 kB / 2.486 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002751/4.614, allocations: 0.9705 MB / 2.487 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/4.614, allocations: 12.08 kB / 2.487 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/4.614, allocations: 18.45 kB / 2.487 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009617/4.615, allocations: 253.7 kB / 2.487 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.197e-05/4.615, allocations: 25.92 kB / 2.487 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/4.617, allocations: 130.7 kB / 2.487 GB, free: 104 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/4.617, allocations: 55.61 kB / 2.487 GB, free: 104 MB / 0.8855 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.0003273/4.617, allocations: 146.3 kB / 2.488 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004061/4.618, allocations: 161.8 kB / 2.488 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003169/4.621, allocations: 1.141 MB / 2.489 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/4.621, allocations: 12.38 kB / 2.489 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/4.621, allocations: 1.5 kB / 2.489 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00183/4.623, allocations: 0.9043 MB / 2.49 GB, free: 103 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005192/4.628, allocations: 2.118 MB / 2.492 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/4.628, allocations: 1.094 kB / 2.492 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000802/4.629, allocations: 154.1 kB / 2.492 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/4.629, allocations: 25.98 kB / 2.492 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.091e-05/4.629, allocations: 22.08 kB / 2.492 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000885/4.63, allocations: 1.254 MB / 2.493 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/4.63, allocations: 6.812 kB / 2.493 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002795/4.633, allocations: 1.434 MB / 2.495 GB, free: 100.1 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003435/4.636, allocations: 2.269 MB / 2.497 GB, free: 98.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007694/4.637, allocations: 340.5 kB / 2.497 GB, free: 98.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004186/4.637, allocations: 4.578 kB / 2.497 GB, free: 98.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/4.638, allocations: 82.56 kB / 2.497 GB, free: 98.59 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/4.639, allocations: 50.78 kB / 2.497 GB, free: 98.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.865e-05/4.639, allocations: 29.92 kB / 2.497 GB, free: 98.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.002047/4.641, allocations: 0.9289 MB / 2.498 GB, free: 98.18 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006255/4.647, allocations: 1.298 MB / 2.499 GB, free: 97.64 MB / 0.8855 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.003243/4.65, allocations: 1.214 MB / 2.501 GB, free: 97.33 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002963/4.653, allocations: 1.375 MB / 2.502 GB, free: 96.76 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/4.653, allocations: 0 / 2.502 GB, free: 96.76 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008257/4.654, allocations: 452.3 kB / 2.502 GB, free: 96.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/4.658, allocations: 0.6013 MB / 2.503 GB, free: 96.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/4.665, allocations: 2.377 MB / 2.505 GB, free: 95.54 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0022/4.667, allocations: 1.583 MB / 2.507 GB, free: 94.71 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/4.667, allocations: 0 / 2.507 GB, free: 94.71 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)