Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",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/Complex 4.0.0+maint.om/package.mo): time 0.003948/0.003948, allocations: 183.1 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.731/0.731, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001103, allocations: 98.36 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5106/0.5118, allocations: 88.43 MB / 0.5529 GB, free: 88.99 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.7389, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.721/5.459, allocations: 1.828 GB / 2.462 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003856/5.46, allocations: 83.45 kB / 2.462 GB, free: 117.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.8834/6.343, allocations: 210.3 MB / 2.667 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/6.343, allocations: 8 kB / 2.667 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/6.344, allocations: 23.72 kB / 2.667 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/6.344, allocations: 286.2 kB / 2.667 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/6.344, allocations: 4 kB / 2.667 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/6.344, allocations: 12.66 kB / 2.667 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001909/6.344, allocations: 104 kB / 2.667 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/6.344, allocations: 214.4 kB / 2.668 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/6.344, allocations: 3.938 kB / 2.668 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/6.344, allocations: 7.984 kB / 2.668 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/6.344, allocations: 7.984 kB / 2.668 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008399/6.345, allocations: 1.289 MB / 2.669 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/6.345, allocations: 155.7 kB / 2.669 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.029e-05/6.346, allocations: 77.2 kB / 2.669 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/6.346, allocations: 121.1 kB / 2.669 GB, free: 179 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/6.346, allocations: 34.5 kB / 2.669 GB, free: 179 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/6.346, allocations: 8 kB / 2.669 GB, free: 179 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004279/6.346, allocations: 133.4 kB / 2.669 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/6.346, allocations: 191.9 kB / 2.67 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/6.346, allocations: 171.5 kB / 2.67 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/6.347, allocations: 25.7 kB / 2.67 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/6.347, allocations: 144.2 kB / 2.67 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/6.347, allocations: 35.48 kB / 2.67 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/6.347, allocations: 0 / 2.67 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.016e-05/6.347, allocations: 330.8 kB / 2.67 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.444e-05/6.347, allocations: 24 kB / 2.67 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-05/6.347, allocations: 109 kB / 2.67 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/6.347, allocations: 71.77 kB / 2.671 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/6.347, allocations: 0 / 2.671 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002656/6.347, allocations: 169.2 kB / 2.671 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/6.347, allocations: 4 kB / 2.671 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/6.347, allocations: 4 kB / 2.671 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/6.347, allocations: 4 kB / 2.671 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/6.348, allocations: 35.91 kB / 2.671 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/6.348, allocations: 4.219 kB / 2.671 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/6.348, allocations: 27.89 kB / 2.671 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/6.348, allocations: 8.188 kB / 2.671 GB, free: 177.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.511e-05/6.348, allocations: 108.9 kB / 2.671 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/6.348, allocations: 19.72 kB / 2.671 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/6.348, allocations: 130.6 kB / 2.671 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/6.348, allocations: 0 / 2.671 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/6.348, allocations: 7.984 kB / 2.671 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/6.348, allocations: 0 / 2.671 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/6.349, allocations: 0.7184 MB / 2.672 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/6.349, allocations: 4.031 kB / 2.672 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/6.349, allocations: 35.91 kB / 2.672 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/6.349, allocations: 0 / 2.672 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/6.349, allocations: 4 kB / 2.672 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/6.349, allocations: 0 / 2.672 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/6.349, allocations: 4 kB / 2.672 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003653/6.349, allocations: 368.2 kB / 2.672 GB, free: 175.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000588/6.35, allocations: 0.8091 MB / 2.673 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.538e-05/6.35, allocations: 108.8 kB / 2.673 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/6.35, allocations: 4.062 kB / 2.673 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/6.35, allocations: 20.05 kB / 2.673 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/6.35, allocations: 12.12 kB / 2.673 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/6.35, allocations: 4 kB / 2.673 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.688e-05/6.35, allocations: 131.2 kB / 2.673 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001286/6.352, allocations: 238.7 kB / 2.673 GB, free: 174.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001445/6.353, allocations: 1.131 MB / 2.674 GB, free: 173.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002013/6.353, allocations: 83.86 kB / 2.675 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/6.353, allocations: 0 / 2.675 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.324e-05/6.353, allocations: 43.92 kB / 2.675 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/6.354, allocations: 58.33 kB / 2.675 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/6.355, allocations: 348.4 kB / 2.675 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000279/6.355, allocations: 0.7784 MB / 2.676 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/6.355, allocations: 4 kB / 2.676 GB, free: 172.1 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)