Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.004605/0.004606, allocations: 177.8 kB / 7.456 MB, free: 2.172 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7197/0.7197, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.833/1.833, allocations: 221.3 MB / 395 MB, free: 10.18 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.001131/0.001131, allocations: 87.55 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5996/0.6008, allocations: 88.42 MB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.8417, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.384/2.225, allocations: 396.5 MB / 1.02 GB, free: 202.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004399/2.226, allocations: 67.89 kB / 1.021 GB, free: 202.1 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.04451/2.27, allocations: 19.06 MB / 1.039 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/2.27, allocations: 13.66 kB / 1.039 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/2.27, allocations: 8.781 kB / 1.039 GB, free: 196.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.228e-05/2.271, allocations: 160 kB / 1.039 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/2.271, allocations: 39.12 kB / 1.039 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/2.271, allocations: 0.9375 kB / 1.039 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.345e-05/2.271, allocations: 8.875 kB / 1.039 GB, free: 196.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.365e-05/2.271, allocations: 47.62 kB / 1.039 GB, free: 196 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/2.271, allocations: 0.7812 kB / 1.039 GB, free: 196 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/2.271, allocations: 0 / 1.039 GB, free: 196 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/2.271, allocations: 5.125 kB / 1.039 GB, free: 196 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/2.271, allocations: 312.4 kB / 1.04 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 2.461e-05/2.271, allocations: 15.52 kB / 1.04 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/2.271, allocations: 10.14 kB / 1.04 GB, free: 195.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.13e-05/2.271, allocations: 86 kB / 1.04 GB, free: 195.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/2.271, allocations: 40.12 kB / 1.04 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/2.271, allocations: 3.938 kB / 1.04 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/2.271, allocations: 31.02 kB / 1.04 GB, free: 195.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.235e-05/2.271, allocations: 51.41 kB / 1.04 GB, free: 195.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.722e-05/2.272, allocations: 97.61 kB / 1.04 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/2.272, allocations: 26.55 kB / 1.04 GB, free: 195.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/2.272, allocations: 84.98 kB / 1.04 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/2.272, allocations: 4.688 kB / 1.04 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/2.272, allocations: 32 / 1.04 GB, free: 195.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.699e-05/2.272, allocations: 319.3 kB / 1.04 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/2.272, allocations: 2.938 kB / 1.04 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.601e-05/2.272, allocations: 16.92 kB / 1.04 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.576e-05/2.272, allocations: 5.531 kB / 1.04 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/2.272, allocations: 0 / 1.04 GB, free: 194.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.845e-05/2.272, allocations: 51.31 kB / 1.041 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/2.272, allocations: 9.406 kB / 1.041 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/2.272, allocations: 0 / 1.041 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/2.272, allocations: 5.531 kB / 1.041 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.868e-05/2.272, allocations: 8.453 kB / 1.041 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/2.272, allocations: 1.312 kB / 1.041 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/2.272, allocations: 5.094 kB / 1.041 GB, free: 194.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/2.272, allocations: 1.438 kB / 1.041 GB, free: 194.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 3.725e-05/2.272, allocations: 101.9 kB / 1.041 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/2.272, allocations: 5.625 kB / 1.041 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.423e-05/2.272, allocations: 128.1 kB / 1.041 GB, free: 194.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/2.272, allocations: 181.1 kB / 1.041 GB, free: 194.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.393e-05/2.272, allocations: 181.1 kB / 1.041 GB, free: 194.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/2.272, allocations: 177.2 kB / 1.041 GB, free: 194 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/2.272, allocations: 387.8 kB / 1.042 GB, free: 193.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/2.272, allocations: 106 kB / 1.042 GB, free: 193.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/2.272, allocations: 102.1 kB / 1.042 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.286e-05/2.272, allocations: 185 kB / 1.042 GB, free: 193.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/2.272, allocations: 181 kB / 1.042 GB, free: 193 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.202e-05/2.272, allocations: 177.1 kB / 1.042 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.478e-05/2.272, allocations: 181.5 kB / 1.043 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.567e-05/2.273, allocations: 315.5 kB / 1.043 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001126/2.273, allocations: 0.6769 MB / 1.044 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/2.273, allocations: 183.9 kB / 1.044 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/2.273, allocations: 181.8 kB / 1.044 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/2.273, allocations: 112.9 kB / 1.044 GB, free: 191.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/2.273, allocations: 188.5 kB / 1.044 GB, free: 191 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/2.273, allocations: 105.7 kB / 1.044 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.511e-05/2.273, allocations: 80.47 kB / 1.044 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008467/2.274, allocations: 24.12 kB / 1.044 GB, free: 190.8 MB / 0.6823 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 (0): * Single equations (assignments): 0 * 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.0002246/2.274, allocations: 238.6 kB / 1.045 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 4.999e-05/2.274, allocations: 13.69 kB / 1.045 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/2.274, allocations: 4.875 kB / 1.045 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-07/2.274, allocations: 0 / 1.045 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/2.274, allocations: 0.5175 MB / 1.045 GB, free: 190.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001265/2.274, allocations: 128.2 kB / 1.045 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/2.275, allocations: 0.6947 MB / 1.046 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.6e-07/2.275, allocations: 0 / 1.046 GB, free: 189.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)