Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",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.003314/0.003314, allocations: 182 kB / 7.458 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.7322/0.7322, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.644/1.644, allocations: 221.3 MB / 395 MB, free: 10.1 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.001518/0.001518, allocations: 105.2 kB / 477.8 MB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4726/0.4742, allocations: 88.42 MB / 0.5529 GB, free: 89.19 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.6626, allocations: 82.3 MB / 0.6333 GB, free: 13.86 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.792/5.455, allocations: 1.829 GB / 2.462 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/5.455, allocations: 82.2 kB / 2.462 GB, free: 107.9 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.9426/6.398, allocations: 224.6 MB / 2.682 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/6.398, allocations: 8 kB / 2.682 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/6.399, allocations: 83.61 kB / 2.682 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/6.399, allocations: 294.6 kB / 2.682 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/6.399, allocations: 8 kB / 2.682 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/6.399, allocations: 12 kB / 2.682 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002848/6.4, allocations: 157.3 kB / 2.682 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/6.4, allocations: 243.6 kB / 2.683 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/6.4, allocations: 0 / 2.683 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/6.4, allocations: 0 / 2.683 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/6.4, allocations: 4 kB / 2.683 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/6.402, allocations: 1.444 MB / 2.684 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/6.402, allocations: 145.1 kB / 2.684 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/6.402, allocations: 68.41 kB / 2.684 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/6.402, allocations: 117.1 kB / 2.684 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/6.402, allocations: 42.41 kB / 2.684 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/6.402, allocations: 4 kB / 2.684 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0005247/6.403, allocations: 133.4 kB / 2.684 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/6.403, allocations: 166.2 kB / 2.685 GB, free: 146 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/6.403, allocations: 199.9 kB / 2.685 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/6.403, allocations: 25.7 kB / 2.685 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/6.403, allocations: 159.9 kB / 2.685 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/6.403, allocations: 31.67 kB / 2.685 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/6.403, allocations: 4 kB / 2.685 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.9e-05/6.403, allocations: 326.8 kB / 2.685 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/6.404, allocations: 55.88 kB / 2.685 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/6.404, allocations: 152.7 kB / 2.686 GB, free: 145 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/6.404, allocations: 87.91 kB / 2.686 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/6.404, allocations: 0 / 2.686 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004545/6.404, allocations: 229.2 kB / 2.686 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/6.404, allocations: 4 kB / 2.686 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/6.404, allocations: 0 / 2.686 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/6.404, allocations: 4 kB / 2.686 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/6.405, allocations: 35.98 kB / 2.686 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/6.405, allocations: 8.266 kB / 2.686 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/6.405, allocations: 31.81 kB / 2.686 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/6.405, allocations: 23.89 kB / 2.686 GB, free: 144.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.389e-05/6.405, allocations: 108.9 kB / 2.686 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/6.405, allocations: 15.81 kB / 2.686 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/6.405, allocations: 127.4 kB / 2.686 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/6.405, allocations: 7.906 kB / 2.686 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/6.405, allocations: 0 / 2.686 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/6.405, allocations: 0 / 2.686 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007865/6.406, allocations: 0.8007 MB / 2.687 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/6.406, allocations: 0 / 2.687 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/6.406, allocations: 39.91 kB / 2.687 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/6.406, allocations: 0 / 2.687 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/6.406, allocations: 4 kB / 2.687 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/6.406, allocations: 0 / 2.687 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/6.406, allocations: 4 kB / 2.687 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000397/6.407, allocations: 364 kB / 2.687 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000645/6.408, allocations: 0.8131 MB / 2.688 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/6.408, allocations: 108.8 kB / 2.688 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/6.408, allocations: 7.984 kB / 2.688 GB, free: 142 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/6.408, allocations: 12.06 kB / 2.688 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/6.408, allocations: 11.98 kB / 2.688 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/6.408, allocations: 4 kB / 2.688 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001225/6.408, allocations: 168.5 kB / 2.688 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00151/6.41, allocations: 287.7 kB / 2.689 GB, free: 141.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.s) * 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.001756/6.411, allocations: 1.184 MB / 2.69 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000249/6.412, allocations: 115.2 kB / 2.69 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/6.412, allocations: 4.188 kB / 2.69 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/6.412, allocations: 39.92 kB / 2.69 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/6.412, allocations: 61.55 kB / 2.69 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/6.413, allocations: 337.4 kB / 2.69 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/6.413, allocations: 0.7941 MB / 2.691 GB, free: 139 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/6.413, allocations: 0 / 2.691 GB, free: 139 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)