Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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 10.0.0-master/package.mo): time 2.13/2.13, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 186.1 kB / 490.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.571/1.571, allocations: 221.3 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 91.42 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6769/0.6779, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.9473, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.252/5.199, allocations: 1.938 GB / 3.149 GB, free: 398.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/5.199, allocations: 91.89 kB / 3.149 GB, free: 398.1 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.5953/5.795, allocations: 320.7 MB / 3.463 GB, free: 72.12 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/5.795, allocations: 11.94 kB / 3.463 GB, free: 72.11 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/5.798, allocations: 0.5244 MB / 3.463 GB, free: 71.59 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/5.8, allocations: 0.9779 MB / 3.464 GB, free: 70.56 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/5.8, allocations: 56 kB / 3.464 GB, free: 70.51 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/5.801, allocations: 103.9 kB / 3.464 GB, free: 70.41 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002406/5.803, allocations: 1.673 MB / 3.466 GB, free: 68.73 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/5.805, allocations: 1.476 MB / 3.467 GB, free: 67.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/5.805, allocations: 0 / 3.467 GB, free: 67.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/5.805, allocations: 7.984 kB / 3.467 GB, free: 67.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/5.805, allocations: 40 kB / 3.467 GB, free: 67.16 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007219/5.813, allocations: 4.661 MB / 3.472 GB, free: 62.32 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/5.814, allocations: 1.5 MB / 3.473 GB, free: 60.75 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006815/5.815, allocations: 0.5581 MB / 3.474 GB, free: 60.18 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008804/5.816, allocations: 1.136 MB / 3.475 GB, free: 58.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/5.817, allocations: 0.7377 MB / 3.476 GB, free: 58.05 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.356e-06/5.817, allocations: 4 kB / 3.476 GB, free: 58.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003472/5.82, allocations: 1.309 MB / 3.477 GB, free: 56.71 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/5.821, allocations: 248.6 kB / 3.477 GB, free: 56.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007938/5.821, allocations: 0.6214 MB / 3.478 GB, free: 55.79 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/5.821, allocations: 29.7 kB / 3.478 GB, free: 55.75 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/5.822, allocations: 0.5075 MB / 3.478 GB, free: 55.23 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/5.822, allocations: 441.3 kB / 3.479 GB, free: 54.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/5.822, allocations: 0 / 3.479 GB, free: 54.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.577e-05/5.822, allocations: 345.9 kB / 3.479 GB, free: 54.45 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/5.823, allocations: 382.5 kB / 3.479 GB, free: 54.08 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006356/5.823, allocations: 0.527 MB / 3.48 GB, free: 53.51 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/5.824, allocations: 479.5 kB / 3.48 GB, free: 53.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/5.824, allocations: 0 / 3.48 GB, free: 53.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002575/5.827, allocations: 1.247 MB / 3.482 GB, free: 51.77 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/5.827, allocations: 7.938 kB / 3.482 GB, free: 51.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/5.827, allocations: 0 / 3.482 GB, free: 51.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009342/5.828, allocations: 200.2 kB / 3.482 GB, free: 51.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/5.829, allocations: 299.5 kB / 3.482 GB, free: 51.26 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/5.834, allocations: 6.467 MB / 3.488 GB, free: 44.21 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/5.835, allocations: 119.1 kB / 3.489 GB, free: 44.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/5.835, allocations: 51.95 kB / 3.489 GB, free: 44.04 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003308/5.835, allocations: 135.7 kB / 3.489 GB, free: 43.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/5.836, allocations: 118.6 kB / 3.489 GB, free: 43.79 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003433/5.839, allocations: 1.589 MB / 3.49 GB, free: 42.17 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/5.839, allocations: 15.98 kB / 3.49 GB, free: 42.15 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/5.839, allocations: 4 kB / 3.49 GB, free: 42.15 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/5.839, allocations: 11.97 kB / 3.49 GB, free: 42.14 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004893/5.844, allocations: 2.955 MB / 3.493 GB, free: 39.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/5.844, allocations: 0 / 3.493 GB, free: 39.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/5.846, allocations: 315.5 kB / 3.494 GB, free: 38.81 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007828/5.846, allocations: 180.2 kB / 3.494 GB, free: 38.62 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.579e-05/5.846, allocations: 23.91 kB / 3.494 GB, free: 38.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003939/5.85, allocations: 6.494 MB / 3.5 GB, free: 31.53 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/5.85, allocations: 4.031 kB / 3.5 GB, free: 31.53 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002951/5.853, allocations: 1.439 MB / 3.502 GB, free: 30.05 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003044/5.856, allocations: 1.896 MB / 3.503 GB, free: 28.12 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000912/5.857, allocations: 399.1 kB / 3.504 GB, free: 27.71 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003654/5.858, allocations: 4 kB / 3.504 GB, free: 27.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/5.859, allocations: 99.75 kB / 3.504 GB, free: 27.61 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/5.86, allocations: 77.19 kB / 3.504 GB, free: 27.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/5.86, allocations: 71.94 kB / 3.504 GB, free: 27.46 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007777/5.861, allocations: 491.1 kB / 3.504 GB, free: 26.99 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003609/5.864, allocations: 0.791 MB / 3.505 GB, free: 26.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003055/5.867, allocations: 1.694 MB / 3.507 GB, free: 24.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002393/5.87, allocations: 1.557 MB / 3.508 GB, free: 22.98 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/5.87, allocations: 4.656 kB / 3.508 GB, free: 22.97 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/5.871, allocations: 1.127 MB / 3.51 GB, free: 21.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/5.873, allocations: 380.1 kB / 3.51 GB, free: 21.44 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/5.878, allocations: 2.203 MB / 3.512 GB, free: 19.19 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/5.879, allocations: 1.463 MB / 3.513 GB, free: 17.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.42e-07/5.879, allocations: 0 / 3.513 GB, free: 17.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat does not exist to compare? outputFormat=mat