Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.09/2.09, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001326/0.001326, allocations: 172.8 kB / 487 MB, free: 5.379 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.56/1.56, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 106.3 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7441/0.7453, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/1.094, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.658/5.752, allocations: 1.937 GB / 3.142 GB, free: 385.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/5.752, allocations: 89.73 kB / 3.142 GB, free: 385 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.6155/6.367, allocations: 320.7 MB / 3.455 GB, free: 59.32 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/6.367, allocations: 13 kB / 3.455 GB, free: 59.31 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004355/6.372, allocations: 0.5283 MB / 3.456 GB, free: 58.78 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/6.374, allocations: 0.9818 MB / 3.457 GB, free: 57.75 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/6.374, allocations: 56 kB / 3.457 GB, free: 57.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/6.374, allocations: 99.91 kB / 3.457 GB, free: 57.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002482/6.377, allocations: 1.666 MB / 3.459 GB, free: 55.93 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/6.379, allocations: 1.476 MB / 3.46 GB, free: 54.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/6.379, allocations: 0 / 3.46 GB, free: 54.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/6.379, allocations: 3.984 kB / 3.46 GB, free: 54.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/6.379, allocations: 40 kB / 3.46 GB, free: 54.36 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007288/6.386, allocations: 4.693 MB / 3.465 GB, free: 49.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/6.388, allocations: 1.485 MB / 3.466 GB, free: 47.93 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007035/6.389, allocations: 0.5658 MB / 3.467 GB, free: 47.37 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009509/6.39, allocations: 1.136 MB / 3.468 GB, free: 46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/6.391, allocations: 0.7334 MB / 3.469 GB, free: 45.24 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 4.188e-06/6.391, allocations: 0 / 3.469 GB, free: 45.24 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003495/6.394, allocations: 1.309 MB / 3.47 GB, free: 43.91 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/6.395, allocations: 256.6 kB / 3.47 GB, free: 43.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008368/6.395, allocations: 0.6136 MB / 3.471 GB, free: 42.98 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/6.396, allocations: 29.64 kB / 3.471 GB, free: 42.95 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/6.396, allocations: 0.5114 MB / 3.471 GB, free: 42.43 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003087/6.396, allocations: 437.4 kB / 3.472 GB, free: 41.99 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/6.396, allocations: 3.938 kB / 3.472 GB, free: 41.99 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.949e-05/6.396, allocations: 345.9 kB / 3.472 GB, free: 41.64 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/6.397, allocations: 386.5 kB / 3.472 GB, free: 41.27 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/6.398, allocations: 0.5192 MB / 3.473 GB, free: 40.71 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008322/6.398, allocations: 479.5 kB / 3.473 GB, free: 40.24 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/6.398, allocations: 0 / 3.473 GB, free: 40.24 MB / 1.151 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002604/6.401, allocations: 1.259 MB / 3.474 GB, free: 38.96 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/6.401, allocations: 8 kB / 3.474 GB, free: 38.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/6.401, allocations: 3.969 kB / 3.474 GB, free: 38.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008987/6.402, allocations: 184.2 kB / 3.475 GB, free: 38.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/6.403, allocations: 303.6 kB / 3.475 GB, free: 38.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/6.408, allocations: 6.478 MB / 3.481 GB, free: 31.39 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/6.409, allocations: 111.2 kB / 3.481 GB, free: 31.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/6.409, allocations: 47.97 kB / 3.481 GB, free: 31.23 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.000338/6.409, allocations: 131.8 kB / 3.482 GB, free: 31.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/6.41, allocations: 118.6 kB / 3.482 GB, free: 30.98 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003495/6.413, allocations: 1.596 MB / 3.483 GB, free: 29.36 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/6.413, allocations: 15.94 kB / 3.483 GB, free: 29.34 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/6.413, allocations: 8 kB / 3.483 GB, free: 29.34 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/6.413, allocations: 7.969 kB / 3.483 GB, free: 29.33 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004905/6.418, allocations: 2.959 MB / 3.486 GB, free: 26.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/6.418, allocations: 0 / 3.486 GB, free: 26.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/6.42, allocations: 307.6 kB / 3.486 GB, free: 26 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007825/6.42, allocations: 196.1 kB / 3.487 GB, free: 25.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/6.421, allocations: 19.97 kB / 3.487 GB, free: 25.78 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/6.425, allocations: 6.494 MB / 3.493 GB, free: 18.71 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/6.425, allocations: 0 / 3.493 GB, free: 18.71 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003039/6.428, allocations: 1.435 MB / 3.494 GB, free: 17.24 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002995/6.431, allocations: 1.896 MB / 3.496 GB, free: 15.31 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007987/6.432, allocations: 395.1 kB / 3.497 GB, free: 14.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/6.432, allocations: 4 kB / 3.497 GB, free: 14.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/6.433, allocations: 103.7 kB / 3.497 GB, free: 14.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/6.433, allocations: 89.09 kB / 3.497 GB, free: 14.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/6.433, allocations: 71.94 kB / 3.497 GB, free: 14.64 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005809/6.434, allocations: 495.1 kB / 3.497 GB, free: 14.16 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002925/6.437, allocations: 0.7794 MB / 3.498 GB, free: 13.38 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.002477/6.439, allocations: 1.69 MB / 3.5 GB, free: 11.77 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002235/6.442, allocations: 1.565 MB / 3.501 GB, free: 10.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/6.442, allocations: 4.656 kB / 3.501 GB, free: 10.15 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/6.443, allocations: 1.119 MB / 3.502 GB, free: 8.98 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/6.445, allocations: 392.2 kB / 3.503 GB, free: 8.605 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0052/6.45, allocations: 2.191 MB / 3.505 GB, free: 6.371 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/6.451, allocations: 1.478 MB / 3.506 GB, free: 4.863 MB / 1.151 GB Notification: Performance of SimCode: time 6.11e-07/6.451, allocations: 0 / 3.506 GB, free: 4.863 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat does not exist to compare? outputFormat=mat