Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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 1.972/1.972, allocations: 387.2 MB / 394.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001376, allocations: 173.7 kB / 487 MB, free: 0.707 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.3 MB / 0.7819 GB, free: 6.75 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009422/0.0009423, allocations: 93 kB / 0.9213 GB, free: 43.67 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3367/0.3377, allocations: 148.5 MB / 1.066 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8457/1.183, allocations: 142.3 MB / 1.205 GB, free: 72.76 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/1.377, allocations: 150.9 MB / 1.353 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/1.377, allocations: 81.27 kB / 1.353 GB, free: 12.29 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.02429/1.402, allocations: 7.908 MB / 1.36 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/1.402, allocations: 8 kB / 1.36 GB, free: 4.359 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/1.402, allocations: 31.62 kB / 1.361 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005116/1.402, allocations: 294.2 kB / 1.361 GB, free: 4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/1.402, allocations: 4 kB / 1.361 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/1.402, allocations: 8.938 kB / 1.361 GB, free: 3.988 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002231/1.403, allocations: 93.66 kB / 1.361 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/1.403, allocations: 168.3 kB / 1.361 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/1.403, allocations: 0 / 1.361 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/1.403, allocations: 3.906 kB / 1.361 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/1.403, allocations: 4 kB / 1.361 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/1.404, allocations: 0.9155 MB / 1.362 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/1.405, allocations: 177.3 kB / 1.362 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/1.405, allocations: 53.7 kB / 1.362 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/1.405, allocations: 7.938 kB / 1.362 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/1.405, allocations: 40.94 kB / 1.362 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/1.405, allocations: 0 / 1.362 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0004723/1.405, allocations: 145.5 kB / 1.362 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/1.406, allocations: 77.11 kB / 1.362 GB, free: 2.188 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/1.406, allocations: 223.2 kB / 1.363 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/1.406, allocations: 25.7 kB / 1.363 GB, free: 1.938 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/1.406, allocations: 132.2 kB / 1.363 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/1.406, allocations: 55.2 kB / 1.363 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/1.406, allocations: 3.938 kB / 1.363 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.406, allocations: 338.7 kB / 1.363 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/1.406, allocations: 40 kB / 1.363 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/1.406, allocations: 89.98 kB / 1.363 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/1.407, allocations: 50.7 kB / 1.363 GB, free: 1.211 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/1.407, allocations: 0 / 1.363 GB, free: 1.211 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003982/1.407, allocations: 181.2 kB / 1.364 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.407, allocations: 4 kB / 1.364 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/1.407, allocations: 4 kB / 1.364 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.407, allocations: 4.156 kB / 1.364 GB, free: 1.016 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/1.407, allocations: 79.88 kB / 1.364 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.407, allocations: 4 kB / 1.364 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/1.408, allocations: 55.72 kB / 1.364 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/1.408, allocations: 8 kB / 1.364 GB, free: 0.8711 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.672e-05/1.408, allocations: 104.9 kB / 1.364 GB, free: 0.7617 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/1.408, allocations: 23.72 kB / 1.364 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/1.408, allocations: 192.9 kB / 1.364 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.408, allocations: 4 kB / 1.364 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.408, allocations: 0 / 1.364 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.408, allocations: 4.984 kB / 1.364 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/1.409, allocations: 257.9 kB / 1.364 GB, free: 256 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.409, allocations: 0 / 1.364 GB, free: 256 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/1.409, allocations: 67.89 kB / 1.364 GB, free: 188 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/1.409, allocations: 8 kB / 1.364 GB, free: 180 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.409, allocations: 0 / 1.364 GB, free: 180 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.409, allocations: 1.188 kB / 1.364 GB, free: 180 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.409, allocations: 4 kB / 1.364 GB, free: 176 kB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005309/1.41, allocations: 356 kB / 1.365 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005536/1.41, allocations: 0.7178 MB / 1.365 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/1.41, allocations: 100.7 kB / 1.365 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/1.41, allocations: 0 / 1.365 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/1.411, allocations: 35.97 kB / 1.365 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/1.411, allocations: 19.97 kB / 1.365 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/1.411, allocations: 4 kB / 1.366 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001648/1.411, allocations: 179.1 kB / 1.366 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001019/1.412, allocations: 60.09 kB / 1.366 GB, free: 14.65 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002481/1.412, allocations: 119.1 kB / 1.366 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002801/1.413, allocations: 125 kB / 1.366 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.413, allocations: 4 kB / 1.366 GB, free: 14.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/1.413, allocations: 63.94 kB / 1.366 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/1.413, allocations: 62.09 kB / 1.366 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007339/1.414, allocations: 304.3 kB / 1.366 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/1.414, allocations: 0.7902 MB / 1.367 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/1.414, allocations: 0 / 1.367 GB, free: 13.14 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat does not exist to compare? outputFormat=mat