Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",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.00405/0.00405, allocations: 183.8 kB / 7.462 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8118/0.8118, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.536/1.536, 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.000982/0.000982, allocations: 94.41 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.462/0.463, allocations: 88.42 MB / 0.5529 GB, free: 89.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.6614, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.665/4.327, allocations: 1.673 GB / 2.307 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/4.327, allocations: 67.97 kB / 2.307 GB, free: 8.496 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.4436/4.771, allocations: 37.07 MB / 2.343 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/4.771, allocations: 12.34 kB / 2.343 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003252/4.771, allocations: 33.73 kB / 2.343 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/4.771, allocations: 159.8 kB / 2.343 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-05/4.771, allocations: 28.61 kB / 2.343 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/4.772, allocations: 0 / 2.343 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.099e-05/4.772, allocations: 26.39 kB / 2.343 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.979e-05/4.772, allocations: 48.11 kB / 2.343 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/4.772, allocations: 3.906 kB / 2.343 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/4.772, allocations: 4 kB / 2.343 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/4.772, allocations: 2.812 kB / 2.343 GB, free: 254.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/4.772, allocations: 337.1 kB / 2.344 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.076e-05/4.772, allocations: 14.58 kB / 2.344 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/4.772, allocations: 15.77 kB / 2.344 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.031e-06/4.772, allocations: 0 / 2.344 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/4.772, allocations: 30.56 kB / 2.344 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/4.772, allocations: 0 / 2.344 GB, free: 253.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002015/4.773, allocations: 37.94 kB / 2.344 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/4.773, allocations: 51.41 kB / 2.344 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/4.773, allocations: 97.47 kB / 2.344 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/4.773, allocations: 29.73 kB / 2.344 GB, free: 253.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/4.773, allocations: 98.69 kB / 2.344 GB, free: 253.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/4.773, allocations: 3.938 kB / 2.344 GB, free: 253.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/4.773, allocations: 0 / 2.344 GB, free: 253.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.177e-05/4.773, allocations: 310.8 kB / 2.344 GB, free: 253 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.314e-05/4.773, allocations: 2.812 kB / 2.344 GB, free: 253 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/4.773, allocations: 28.38 kB / 2.344 GB, free: 253 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/4.773, allocations: 18.89 kB / 2.344 GB, free: 253 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/4.773, allocations: 3.125 kB / 2.344 GB, free: 253 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.005e-05/4.773, allocations: 47.97 kB / 2.344 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/4.773, allocations: 2.781 kB / 2.344 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/4.773, allocations: 6.594 kB / 2.344 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/4.773, allocations: 0 / 2.344 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/4.773, allocations: 5.562 kB / 2.344 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/4.773, allocations: 2.594 kB / 2.344 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/4.773, allocations: 7.906 kB / 2.344 GB, free: 252.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/4.773, allocations: 2.469 kB / 2.344 GB, free: 252.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.336e-05/4.773, allocations: 101 kB / 2.344 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/4.773, allocations: 2.688 kB / 2.344 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/4.773, allocations: 3.156 kB / 2.344 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/4.773, allocations: 10.77 kB / 2.344 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/4.773, allocations: 0 / 2.344 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/4.773, allocations: 0 / 2.344 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/4.774, allocations: 327 kB / 2.345 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/4.774, allocations: 0 / 2.345 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/4.774, allocations: 256 / 2.345 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/4.774, allocations: 10.38 kB / 2.345 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/4.774, allocations: 4 kB / 2.345 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/4.774, allocations: 0 / 2.345 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/4.774, allocations: 3.938 kB / 2.345 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.54e-05/4.774, allocations: 62.66 kB / 2.345 GB, free: 252.4 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001501/4.774, allocations: 453.5 kB / 2.345 GB, free: 251.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/4.774, allocations: 85 kB / 2.345 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/4.774, allocations: 2.656 kB / 2.345 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/4.774, allocations: 6.688 kB / 2.345 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-06/4.774, allocations: 0 / 2.345 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/4.774, allocations: 2.406 kB / 2.345 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.927e-05/4.774, allocations: 82.38 kB / 2.345 GB, free: 251.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008457/4.775, allocations: 81.83 kB / 2.346 GB, free: 251.7 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 (1): * Single equations (assignments): 1 * 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.0008538/4.776, allocations: 0.6457 MB / 2.346 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.555e-05/4.776, allocations: 8.281 kB / 2.346 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/4.776, allocations: 0 / 2.346 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.69e-06/4.776, allocations: 3.938 kB / 2.346 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/4.776, allocations: 22.06 kB / 2.346 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001827/4.776, allocations: 52.77 kB / 2.346 GB, free: 251.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/4.776, allocations: 0.6897 MB / 2.347 GB, free: 250.6 MB / 0.6823 GB Notification: Performance of SimCode: time 2.61e-07/4.776, allocations: 0 / 2.347 GB, free: 250.6 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)