Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_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.001211/0.001211, allocations: 181.6 kB / 7.459 MB, free: 1.543 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7298/0.7298, allocations: 133.5 MB / 141.4 MB, free: 4.859 MB / 114.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 221.3 MB / 395 MB, free: 13.79 MB / 322.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000909/0.0009091, allocations: 99.03 kB / 477.8 MB, free: 11.07 MB / 402.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3342/0.3352, allocations: 88.43 MB / 0.5529 GB, free: 49.89 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5426/0.8778, allocations: 82.29 MB / 0.6333 GB, free: 5.617 MB / 434.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8545/1.732, allocations: 418.4 MB / 1.042 GB, free: 51.27 MB / 0.6433 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/1.733, allocations: 75.39 kB / 1.042 GB, free: 51.23 MB / 0.6433 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.08272/1.815, allocations: 36.28 MB / 1.077 GB, free: 20.09 MB / 0.6433 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.815, allocations: 8 kB / 1.077 GB, free: 20.08 MB / 0.6433 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000204/1.816, allocations: 15.89 kB / 1.077 GB, free: 20.06 MB / 0.6433 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.124e-05/1.816, allocations: 159.1 kB / 1.078 GB, free: 19.87 MB / 0.6433 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/1.816, allocations: 0 / 1.078 GB, free: 19.87 MB / 0.6433 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/1.816, allocations: 7.906 kB / 1.078 GB, free: 19.86 MB / 0.6433 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.655e-05/1.816, allocations: 19.11 kB / 1.078 GB, free: 19.84 MB / 0.6433 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.204e-05/1.816, allocations: 61.53 kB / 1.078 GB, free: 19.78 MB / 0.6433 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/1.816, allocations: 0 / 1.078 GB, free: 19.78 MB / 0.6433 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/1.816, allocations: 0 / 1.078 GB, free: 19.78 MB / 0.6433 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.816, allocations: 0 / 1.078 GB, free: 19.78 MB / 0.6433 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/1.816, allocations: 141.5 kB / 1.078 GB, free: 19.61 MB / 0.6433 GB Notification: Performance of preOpt comSubExp (simulation): time 5.791e-05/1.816, allocations: 40.58 kB / 1.078 GB, free: 19.57 MB / 0.6433 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/1.816, allocations: 16.73 kB / 1.078 GB, free: 19.55 MB / 0.6433 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009523/1.826, allocations: 3.095 MB / 1.081 GB, free: 16.41 MB / 0.6433 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/1.826, allocations: 38.56 kB / 1.081 GB, free: 16.36 MB / 0.6433 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/1.826, allocations: 0 / 1.081 GB, free: 16.36 MB / 0.6433 GB Notification: Performance of matching and sorting (n=11): time 0.02278/1.849, allocations: 6.474 MB / 1.087 GB, free: 9.82 MB / 0.6433 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/1.849, allocations: 55.41 kB / 1.087 GB, free: 9.754 MB / 0.6433 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.604e-05/1.849, allocations: 89 kB / 1.087 GB, free: 9.66 MB / 0.6433 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/1.849, allocations: 25.7 kB / 1.087 GB, free: 9.629 MB / 0.6433 GB Notification: Performance of collectInitialEqns (initialization): time 1.568e-05/1.849, allocations: 80.14 kB / 1.087 GB, free: 9.547 MB / 0.6433 GB Notification: Performance of collectInitialBindings (initialization): time 3.435e-05/1.849, allocations: 35.08 kB / 1.087 GB, free: 9.516 MB / 0.6433 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/1.849, allocations: 4 kB / 1.087 GB, free: 9.512 MB / 0.6433 GB Notification: Performance of setup shared object (initialization): time 5.28e-05/1.849, allocations: 314.4 kB / 1.088 GB, free: 9.199 MB / 0.6433 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/1.849, allocations: 26.86 kB / 1.088 GB, free: 9.18 MB / 0.6433 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-05/1.849, allocations: 15.38 kB / 1.088 GB, free: 9.168 MB / 0.6433 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.944e-05/1.849, allocations: 26.11 kB / 1.088 GB, free: 9.152 MB / 0.6433 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/1.849, allocations: 7.906 kB / 1.088 GB, free: 9.145 MB / 0.6433 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000204/1.849, allocations: 92.3 kB / 1.088 GB, free: 9.059 MB / 0.6433 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/1.849, allocations: 7.938 kB / 1.088 GB, free: 9.051 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.849, allocations: 4 kB / 1.088 GB, free: 9.047 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/1.849, allocations: 0 / 1.088 GB, free: 9.047 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/1.849, allocations: 23.98 kB / 1.088 GB, free: 9.023 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.849, allocations: 7.844 kB / 1.088 GB, free: 9.016 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/1.849, allocations: 0 / 1.088 GB, free: 9.016 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/1.85, allocations: 7.625 kB / 1.088 GB, free: 9.012 MB / 0.6433 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 6.355e-05/1.85, allocations: 115.7 kB / 1.088 GB, free: 8.895 MB / 0.6433 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/1.85, allocations: 3.906 kB / 1.088 GB, free: 8.891 MB / 0.6433 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003099/1.85, allocations: 127.7 kB / 1.088 GB, free: 8.77 MB / 0.6433 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.85, allocations: 0 / 1.088 GB, free: 8.77 MB / 0.6433 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.85, allocations: 4 kB / 1.088 GB, free: 8.766 MB / 0.6433 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/1.85, allocations: 7.969 kB / 1.088 GB, free: 8.758 MB / 0.6433 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/1.85, allocations: 141.8 kB / 1.088 GB, free: 8.586 MB / 0.6433 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/1.85, allocations: 3.906 kB / 1.088 GB, free: 8.582 MB / 0.6433 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/1.85, allocations: 27.92 kB / 1.088 GB, free: 8.555 MB / 0.6433 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.85, allocations: 4 kB / 1.088 GB, free: 8.551 MB / 0.6433 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/1.85, allocations: 11.3 kB / 1.088 GB, free: 8.543 MB / 0.6433 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.85, allocations: 0 / 1.088 GB, free: 8.543 MB / 0.6433 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/1.85, allocations: 3.938 kB / 1.088 GB, free: 8.539 MB / 0.6433 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002705/1.851, allocations: 131.2 kB / 1.089 GB, free: 8.41 MB / 0.6433 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004615/1.851, allocations: 0.5507 MB / 1.089 GB, free: 7.883 MB / 0.6433 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/1.851, allocations: 100.5 kB / 1.089 GB, free: 7.773 MB / 0.6433 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/1.851, allocations: 3.984 kB / 1.089 GB, free: 7.77 MB / 0.6433 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/1.851, allocations: 8 kB / 1.089 GB, free: 7.762 MB / 0.6433 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/1.851, allocations: 7.984 kB / 1.089 GB, free: 7.754 MB / 0.6433 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/1.851, allocations: 7.938 kB / 1.089 GB, free: 7.746 MB / 0.6433 GB Notification: Performance of sort global known variables: time 2.835e-05/1.851, allocations: 83.27 kB / 1.089 GB, free: 7.664 MB / 0.6433 GB Notification: Performance of remove unused functions: time 0.00323/1.855, allocations: 0.6427 MB / 1.09 GB, free: 7.094 MB / 0.6433 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.003791/1.858, allocations: 0.8228 MB / 1.091 GB, free: 6.293 MB / 0.6433 GB Notification: Performance of simCode: created initialization part: time 0.0002244/1.859, allocations: 62.98 kB / 1.091 GB, free: 6.242 MB / 0.6433 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.859, allocations: 4 kB / 1.091 GB, free: 6.238 MB / 0.6433 GB Notification: Performance of simCode: created simulation system equations: time 3.864e-05/1.859, allocations: 30.72 kB / 1.091 GB, free: 6.215 MB / 0.6433 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/1.859, allocations: 4 kB / 1.091 GB, free: 6.211 MB / 0.6433 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/1.86, allocations: 274.3 kB / 1.091 GB, free: 5.926 MB / 0.6433 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/1.86, allocations: 0.7114 MB / 1.092 GB, free: 5.188 MB / 0.6433 GB Notification: Performance of SimCode: time 5.11e-07/1.86, allocations: 0 / 1.092 GB, free: 5.188 MB / 0.6433 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)