Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck",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.004091/0.004091, allocations: 181.6 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.7046/0.7046, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.613/1.613, 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.001181/0.001181, allocations: 106.6 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5385/0.5397, allocations: 88.42 MB / 0.5529 GB, free: 88.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.7558, allocations: 82.31 MB / 0.6333 GB, free: 13.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.606/2.362, allocations: 418.4 MB / 1.042 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/2.362, allocations: 70.64 kB / 1.042 GB, free: 170.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1053/2.468, allocations: 36.28 MB / 1.077 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/2.468, allocations: 8 kB / 1.077 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/2.468, allocations: 15.89 kB / 1.077 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.082e-05/2.468, allocations: 159.1 kB / 1.078 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/2.468, allocations: 4 kB / 1.078 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/2.468, allocations: 11.89 kB / 1.078 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.39e-05/2.468, allocations: 19.11 kB / 1.078 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.036e-05/2.468, allocations: 53.55 kB / 1.078 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/2.468, allocations: 0 / 1.078 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/2.468, allocations: 0 / 1.078 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/2.468, allocations: 0 / 1.078 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/2.468, allocations: 141.5 kB / 1.078 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.267e-05/2.468, allocations: 40.7 kB / 1.078 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.146e-05/2.468, allocations: 20.47 kB / 1.078 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009885/2.478, allocations: 3.099 MB / 1.081 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/2.478, allocations: 34.56 kB / 1.081 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/2.478, allocations: 0 / 1.081 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.02352/2.502, allocations: 6.481 MB / 1.087 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/2.502, allocations: 55.41 kB / 1.087 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.358e-05/2.502, allocations: 88.94 kB / 1.087 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/2.502, allocations: 25.7 kB / 1.087 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.557e-05/2.502, allocations: 80.14 kB / 1.087 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/2.502, allocations: 41.89 kB / 1.087 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/2.502, allocations: 0 / 1.087 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.835e-05/2.502, allocations: 314.7 kB / 1.088 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.971e-05/2.502, allocations: 23.55 kB / 1.088 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/2.502, allocations: 19.19 kB / 1.088 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/2.502, allocations: 23.33 kB / 1.088 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/2.502, allocations: 0 / 1.088 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001883/2.503, allocations: 89.61 kB / 1.088 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/2.503, allocations: 4 kB / 1.088 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/2.503, allocations: 0 / 1.088 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/2.503, allocations: 3.938 kB / 1.088 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/2.503, allocations: 31.67 kB / 1.088 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/2.503, allocations: 3.906 kB / 1.088 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/2.503, allocations: 4 kB / 1.088 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/2.503, allocations: 4 kB / 1.088 GB, free: 146.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 5.716e-05/2.503, allocations: 105 kB / 1.088 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/2.503, allocations: 3.906 kB / 1.088 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/2.503, allocations: 131.7 kB / 1.088 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/2.503, allocations: 0 / 1.088 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/2.503, allocations: 4 kB / 1.088 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/2.503, allocations: 3.984 kB / 1.088 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.954e-05/2.503, allocations: 149.2 kB / 1.088 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/2.503, allocations: 0 / 1.088 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/2.503, allocations: 23.98 kB / 1.088 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/2.503, allocations: 0 / 1.088 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/2.503, allocations: 7.984 kB / 1.088 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/2.503, allocations: 0 / 1.088 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/2.503, allocations: 0 / 1.088 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002348/2.504, allocations: 134.2 kB / 1.089 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003763/2.504, allocations: 0.5598 MB / 1.089 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/2.504, allocations: 95.94 kB / 1.089 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/2.504, allocations: 3.984 kB / 1.089 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/2.504, allocations: 12 kB / 1.089 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/2.504, allocations: 7.984 kB / 1.089 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/2.504, allocations: 4 kB / 1.089 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.376e-05/2.504, allocations: 79.09 kB / 1.089 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002417/2.507, allocations: 0.648 MB / 1.09 GB, free: 144.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.003354/2.51, allocations: 0.8366 MB / 1.091 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001248/2.51, allocations: 58.05 kB / 1.091 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/2.51, allocations: 0 / 1.091 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.464e-05/2.51, allocations: 31.31 kB / 1.091 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/2.511, allocations: 4 kB / 1.091 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/2.511, allocations: 270.2 kB / 1.091 GB, free: 143 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/2.511, allocations: 0.7152 MB / 1.092 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/2.511, allocations: 0 / 1.092 GB, free: 142.2 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)