Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.144/2.144, allocations: 390.4 MB / 397.7 MB, free: 10.68 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.00139/0.00139, allocations: 185.1 kB / 490.8 MB, free: 11.21 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.474/1.474, allocations: 221.4 MB / 0.7863 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 98.42 kB / 0.9264 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.373/0.3744, allocations: 149.1 MB / 1.072 GB, free: 15.43 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/1.27, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/1.462, allocations: 151.7 MB / 1.36 GB, free: 39.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/1.462, allocations: 75.95 kB / 1.36 GB, free: 39.82 MB / 0.8855 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.02219/1.484, allocations: 7.904 MB / 1.368 GB, free: 31.99 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/1.484, allocations: 8.656 kB / 1.368 GB, free: 31.98 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/1.485, allocations: 43.61 kB / 1.368 GB, free: 31.94 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/1.485, allocations: 294.2 kB / 1.368 GB, free: 31.62 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/1.485, allocations: 4 kB / 1.368 GB, free: 31.61 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/1.485, allocations: 8 kB / 1.368 GB, free: 31.61 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002311/1.485, allocations: 92.55 kB / 1.368 GB, free: 31.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/1.486, allocations: 164.3 kB / 1.368 GB, free: 31.33 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.486, allocations: 0 / 1.368 GB, free: 31.33 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/1.486, allocations: 4 kB / 1.368 GB, free: 31.33 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.486, allocations: 4 kB / 1.368 GB, free: 31.32 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009692/1.487, allocations: 0.9154 MB / 1.369 GB, free: 30.35 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/1.487, allocations: 186.8 kB / 1.369 GB, free: 30.15 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/1.487, allocations: 53.72 kB / 1.369 GB, free: 30.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/1.487, allocations: 4 kB / 1.369 GB, free: 30.09 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/1.487, allocations: 30.56 kB / 1.369 GB, free: 30.05 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/1.487, allocations: 0 / 1.369 GB, free: 30.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0004422/1.488, allocations: 157.1 kB / 1.37 GB, free: 29.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/1.488, allocations: 77.11 kB / 1.37 GB, free: 29.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/1.488, allocations: 226 kB / 1.37 GB, free: 29.58 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/1.488, allocations: 33.7 kB / 1.37 GB, free: 29.54 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/1.488, allocations: 124.3 kB / 1.37 GB, free: 29.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/1.488, allocations: 55.2 kB / 1.37 GB, free: 29.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/1.488, allocations: 0 / 1.37 GB, free: 29.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.247e-05/1.488, allocations: 334.8 kB / 1.37 GB, free: 29.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.009e-05/1.488, allocations: 43.98 kB / 1.37 GB, free: 28.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.28e-05/1.489, allocations: 86.02 kB / 1.37 GB, free: 28.88 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/1.489, allocations: 51.91 kB / 1.37 GB, free: 28.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.489, allocations: 4 kB / 1.37 GB, free: 28.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003543/1.489, allocations: 173.3 kB / 1.371 GB, free: 28.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.489, allocations: 8.031 kB / 1.371 GB, free: 28.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.489, allocations: 7.984 kB / 1.371 GB, free: 28.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/1.489, allocations: 4 kB / 1.371 GB, free: 28.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003613/1.489, allocations: 79.89 kB / 1.371 GB, free: 28.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.489, allocations: 0 / 1.371 GB, free: 28.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/1.49, allocations: 51.8 kB / 1.371 GB, free: 28.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/1.49, allocations: 11.19 kB / 1.371 GB, free: 28.49 MB / 0.8855 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 8.213e-05/1.49, allocations: 112.8 kB / 1.371 GB, free: 28.37 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/1.49, allocations: 31.72 kB / 1.371 GB, free: 28.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/1.49, allocations: 177.5 kB / 1.371 GB, free: 28.16 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/1.49, allocations: 9.531 kB / 1.371 GB, free: 28.15 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.49, allocations: 0 / 1.371 GB, free: 28.15 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/1.49, allocations: 0 / 1.371 GB, free: 28.15 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/1.491, allocations: 257.9 kB / 1.371 GB, free: 27.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.491, allocations: 4 kB / 1.371 GB, free: 27.86 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/1.491, allocations: 75.94 kB / 1.371 GB, free: 27.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.491, allocations: 0 / 1.371 GB, free: 27.79 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/1.491, allocations: 0 / 1.371 GB, free: 27.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.491, allocations: 4 kB / 1.371 GB, free: 27.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.491, allocations: 0 / 1.371 GB, free: 27.78 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003633/1.491, allocations: 350.8 kB / 1.372 GB, free: 27.42 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004022/1.492, allocations: 0.72 MB / 1.372 GB, free: 26.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/1.492, allocations: 104.7 kB / 1.373 GB, free: 26.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/1.492, allocations: 7.922 kB / 1.373 GB, free: 26.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/1.492, allocations: 35.97 kB / 1.373 GB, free: 26.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/1.492, allocations: 23.97 kB / 1.373 GB, free: 26.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/1.492, allocations: 4 kB / 1.373 GB, free: 26.48 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.000115/1.492, allocations: 167.1 kB / 1.373 GB, free: 26.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0009923/1.493, allocations: 60.09 kB / 1.373 GB, free: 26.26 MB / 0.8855 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.0002053/1.494, allocations: 119.2 kB / 1.373 GB, free: 26.14 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002525/1.494, allocations: 123.9 kB / 1.373 GB, free: 26.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.494, allocations: 4.312 kB / 1.373 GB, free: 26.01 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/1.494, allocations: 67.94 kB / 1.373 GB, free: 25.95 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/1.494, allocations: 55.09 kB / 1.373 GB, free: 25.89 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000642/1.495, allocations: 304.9 kB / 1.374 GB, free: 25.57 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/1.495, allocations: 0.7863 MB / 1.374 GB, free: 24.75 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/1.495, allocations: 1.5 kB / 1.374 GB, free: 24.75 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat does not exist to compare? outputFormat=mat