Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.34/2.34, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001116/0.001116, allocations: 185.2 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.472/1.472, allocations: 221.4 MB / 0.7863 GB, free: 13.73 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.001204/0.001204, allocations: 91.05 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6931/0.6943, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/1.009, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/2.128, allocations: 373.4 MB / 1.576 GB, free: 9.18 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/2.129, allocations: 86.06 kB / 1.576 GB, free: 9.133 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.05739/2.186, allocations: 14.35 MB / 1.59 GB, free: 13.66 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/2.186, allocations: 8 kB / 1.59 GB, free: 13.65 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.66e-05/2.186, allocations: 15.81 kB / 1.59 GB, free: 13.63 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/2.186, allocations: 186.8 kB / 1.591 GB, free: 13.41 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/2.186, allocations: 0 / 1.591 GB, free: 13.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/2.187, allocations: 8 kB / 1.591 GB, free: 13.4 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004298/2.187, allocations: 94.83 kB / 1.591 GB, free: 13.34 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/2.187, allocations: 86.39 kB / 1.591 GB, free: 13.27 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/2.187, allocations: 7.984 kB / 1.591 GB, free: 13.26 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/2.187, allocations: 0 / 1.591 GB, free: 13.26 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/2.187, allocations: 3.938 kB / 1.591 GB, free: 13.26 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/2.188, allocations: 392.8 kB / 1.591 GB, free: 12.9 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/2.189, allocations: 94.3 kB / 1.591 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/2.189, allocations: 45.55 kB / 1.591 GB, free: 12.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001696/2.19, allocations: 0.9334 MB / 1.592 GB, free: 11.77 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/2.19, allocations: 34.38 kB / 1.592 GB, free: 11.73 MB / 1.01 GB Notification: Performance of pre-optimization done (n=12): time 2.595e-06/2.19, allocations: 0 / 1.592 GB, free: 11.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=12): time 0.0008395/2.191, allocations: 136.3 kB / 1.592 GB, free: 11.61 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/2.191, allocations: 55.41 kB / 1.592 GB, free: 11.54 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/2.192, allocations: 139.5 kB / 1.593 GB, free: 11.41 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/2.192, allocations: 25.7 kB / 1.593 GB, free: 11.38 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/2.192, allocations: 107.1 kB / 1.593 GB, free: 11.28 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/2.192, allocations: 43.02 kB / 1.593 GB, free: 11.24 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/2.192, allocations: 0 / 1.593 GB, free: 11.24 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001657/2.192, allocations: 325.7 kB / 1.593 GB, free: 10.92 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/2.192, allocations: 45.31 kB / 1.593 GB, free: 10.89 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/2.192, allocations: 78.86 kB / 1.593 GB, free: 10.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/2.193, allocations: 137.1 kB / 1.593 GB, free: 10.71 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/2.194, allocations: 7.938 kB / 1.593 GB, free: 10.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001413/2.195, allocations: 264.5 kB / 1.594 GB, free: 10.49 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/2.195, allocations: 4 kB / 1.594 GB, free: 10.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/2.195, allocations: 0 / 1.594 GB, free: 10.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/2.195, allocations: 4 kB / 1.594 GB, free: 10.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/2.196, allocations: 71.22 kB / 1.594 GB, free: 10.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/2.196, allocations: 3.984 kB / 1.594 GB, free: 10.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/2.196, allocations: 27.83 kB / 1.594 GB, free: 10.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/2.196, allocations: 11.88 kB / 1.594 GB, free: 10.38 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.000141/2.196, allocations: 112.8 kB / 1.594 GB, free: 10.26 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/2.196, allocations: 11.91 kB / 1.594 GB, free: 10.25 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007436/2.197, allocations: 161.1 kB / 1.594 GB, free: 10.11 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/2.197, allocations: 0 / 1.594 GB, free: 10.11 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/2.197, allocations: 4 kB / 1.594 GB, free: 10.11 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/2.197, allocations: 0 / 1.594 GB, free: 10.11 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/2.197, allocations: 194.5 kB / 1.594 GB, free: 9.898 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/2.197, allocations: 4 kB / 1.594 GB, free: 9.895 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/2.198, allocations: 35.97 kB / 1.594 GB, free: 9.859 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/2.198, allocations: 3.938 kB / 1.594 GB, free: 9.855 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/2.198, allocations: 0 / 1.594 GB, free: 9.855 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/2.198, allocations: 0 / 1.594 GB, free: 9.855 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/2.198, allocations: 4 kB / 1.594 GB, free: 9.852 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006731/2.199, allocations: 240.3 kB / 1.594 GB, free: 9.629 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009354/2.2, allocations: 0.6025 MB / 1.595 GB, free: 9.035 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/2.2, allocations: 88.92 kB / 1.595 GB, free: 8.93 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/2.2, allocations: 8 kB / 1.595 GB, free: 8.922 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/2.2, allocations: 19.97 kB / 1.595 GB, free: 8.902 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/2.2, allocations: 11.61 kB / 1.595 GB, free: 8.895 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/2.2, allocations: 0 / 1.595 GB, free: 8.895 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0001315/2.2, allocations: 121.7 kB / 1.595 GB, free: 8.785 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001713/2.202, allocations: 61.25 kB / 1.595 GB, free: 8.734 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.000523/2.202, allocations: 182.3 kB / 1.595 GB, free: 8.547 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003849/2.203, allocations: 113 kB / 1.596 GB, free: 8.469 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/2.203, allocations: 0 / 1.596 GB, free: 8.469 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/2.203, allocations: 46.36 kB / 1.596 GB, free: 8.434 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/2.203, allocations: 27.16 kB / 1.596 GB, free: 8.414 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/2.204, allocations: 150.1 kB / 1.596 GB, free: 8.25 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/2.205, allocations: 0.731 MB / 1.596 GB, free: 7.5 MB / 1.01 GB Notification: Performance of SimCode: time 4.41e-07/2.205, allocations: 0 / 1.596 GB, free: 7.5 MB / 1.01 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat does not exist to compare? outputFormat=mat