Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate",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.004008/0.004008, allocations: 184.5 kB / 7.462 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7054/0.7054, allocations: 133.5 MB / 141.4 MB, free: 15.65 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.655/1.655, allocations: 221.3 MB / 395 MB, free: 10.2 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.001188/0.001188, allocations: 99.62 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4913/0.4926, allocations: 88.43 MB / 0.5529 GB, free: 89.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.6788, allocations: 82.29 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.661/5.34, allocations: 1.83 GB / 2.463 GB, free: 97.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/5.34, allocations: 90.38 kB / 2.463 GB, free: 97.46 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 1.074/6.414, allocations: 300.8 MB / 2.757 GB, free: 76.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/6.414, allocations: 8 kB / 2.757 GB, free: 76.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005524/6.415, allocations: 63.48 kB / 2.757 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006885/6.416, allocations: 337.8 kB / 2.757 GB, free: 76.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/6.416, allocations: 12 kB / 2.757 GB, free: 76.49 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/6.416, allocations: 16 kB / 2.757 GB, free: 76.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003227/6.416, allocations: 141.3 kB / 2.757 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/6.416, allocations: 263.6 kB / 2.757 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/6.416, allocations: 0 / 2.757 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/6.416, allocations: 7.938 kB / 2.757 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/6.416, allocations: 4 kB / 2.757 GB, free: 76.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/6.418, allocations: 1.471 MB / 2.759 GB, free: 74.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/6.418, allocations: 86.5 kB / 2.759 GB, free: 74.36 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.273e-05/6.418, allocations: 68.83 kB / 2.759 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000525/6.419, allocations: 303.3 kB / 2.759 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/6.419, allocations: 30.56 kB / 2.759 GB, free: 73.89 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/6.419, allocations: 11.94 kB / 2.759 GB, free: 73.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0007016/6.42, allocations: 208.8 kB / 2.76 GB, free: 73.68 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/6.42, allocations: 55.39 kB / 2.76 GB, free: 73.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/6.42, allocations: 189 kB / 2.76 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/6.42, allocations: 29.69 kB / 2.76 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/6.42, allocations: 164 kB / 2.76 GB, free: 73.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/6.42, allocations: 51.3 kB / 2.76 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/6.42, allocations: 4 kB / 2.76 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.086e-05/6.42, allocations: 330.8 kB / 2.76 GB, free: 72.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.551e-05/6.42, allocations: 39.98 kB / 2.76 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.547e-05/6.42, allocations: 99.61 kB / 2.761 GB, free: 72.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/6.421, allocations: 91.91 kB / 2.761 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/6.421, allocations: 4 kB / 2.761 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003436/6.421, allocations: 197.2 kB / 2.761 GB, free: 72.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/6.421, allocations: 7.938 kB / 2.761 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/6.421, allocations: 0 / 2.761 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/6.421, allocations: 12.14 kB / 2.761 GB, free: 72.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/6.421, allocations: 35.98 kB / 2.761 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/6.421, allocations: 7.938 kB / 2.761 GB, free: 72.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/6.421, allocations: 27.89 kB / 2.761 GB, free: 72.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/6.421, allocations: 7.984 kB / 2.761 GB, free: 72.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 7.216e-05/6.422, allocations: 105 kB / 2.761 GB, free: 72.16 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/6.422, allocations: 19.72 kB / 2.761 GB, free: 72.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003714/6.422, allocations: 203.2 kB / 2.761 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/6.422, allocations: 7.906 kB / 2.761 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/6.422, allocations: 0 / 2.761 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/6.422, allocations: 0 / 2.761 GB, free: 71.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008357/6.423, allocations: 0.6295 MB / 2.762 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/6.423, allocations: 4.156 kB / 2.762 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/6.423, allocations: 35.92 kB / 2.762 GB, free: 71.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/6.423, allocations: 4 kB / 2.762 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/6.423, allocations: 4 kB / 2.762 GB, free: 71.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/6.423, allocations: 3.984 kB / 2.762 GB, free: 71.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/6.423, allocations: 4 kB / 2.762 GB, free: 71.18 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004037/6.423, allocations: 417 kB / 2.762 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007164/6.424, allocations: 0.8256 MB / 2.763 GB, free: 69.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/6.424, allocations: 116.7 kB / 2.763 GB, free: 69.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/6.424, allocations: 4 kB / 2.763 GB, free: 69.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/6.425, allocations: 23.97 kB / 2.763 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/6.425, allocations: 15.89 kB / 2.763 GB, free: 69.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/6.425, allocations: 8 kB / 2.763 GB, free: 69.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001136/6.425, allocations: 149.2 kB / 2.763 GB, free: 69.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001594/6.426, allocations: 283.8 kB / 2.764 GB, free: 69.18 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.00196/6.428, allocations: 1.365 MB / 2.765 GB, free: 67.78 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002726/6.429, allocations: 115.9 kB / 2.765 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/6.429, allocations: 320 / 2.765 GB, free: 67.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/6.429, allocations: 71.86 kB / 2.765 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/6.429, allocations: 78 kB / 2.765 GB, free: 67.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007977/6.43, allocations: 359.8 kB / 2.766 GB, free: 67.13 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/6.43, allocations: 0.8058 MB / 2.766 GB, free: 66.3 MB / 0.6823 GB Notification: Performance of SimCode: time 5.51e-07/6.431, allocations: 0 / 2.766 GB, free: 66.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)