Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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: translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") [: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.001817/0.001817, allocations: 186.6 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.593/0.593, allocations: 133.5 MB / 141.4 MB, free: 15.77 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.11/1.11, allocations: 221.3 MB / 395 MB, free: 10.19 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.0008301/0.0008302, allocations: 97.72 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.021e-06, allocations: 3.062 kB / 0.5528 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.4342, allocations: 109.6 MB / 0.7403 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.4344, allocations: 66.59 kB / 0.7403 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0005591/0.435, allocations: 94.16 kB / 0.7404 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.435, allocations: 1.781 kB / 0.7404 GB, free: 10.7 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002066/0.4352, allocations: 307.8 kB / 0.7407 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4353, allocations: 13.2 kB / 0.7407 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.4353, allocations: 0.7031 kB / 0.7407 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.039e-05/0.4354, allocations: 164.2 kB / 0.7409 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4354, allocations: 4 kB / 0.7409 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.4354, allocations: 0 / 0.7409 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.048e-05/0.4355, allocations: 4.594 kB / 0.7409 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.402e-05/0.4356, allocations: 41.31 kB / 0.7409 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4356, allocations: 4.453 kB / 0.7409 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.4356, allocations: 0 / 0.7409 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4356, allocations: 0 / 0.7409 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.4357, allocations: 140.5 kB / 0.7411 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.4358, allocations: 36.77 kB / 0.7411 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.4358, allocations: 14.5 kB / 0.7411 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.4358, allocations: 3.594 kB / 0.7411 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.4358, allocations: 40.48 kB / 0.7412 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4358, allocations: 1.203 kB / 0.7412 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001211/0.436, allocations: 38.75 kB / 0.7412 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.436, allocations: 77.77 kB / 0.7413 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.982e-05/0.436, allocations: 85 kB / 0.7414 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.4361, allocations: 25.7 kB / 0.7414 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.197e-05/0.4361, allocations: 80.84 kB / 0.7415 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.4361, allocations: 14.59 kB / 0.7415 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.4361, allocations: 0 / 0.7415 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.287e-05/0.4362, allocations: 316.3 kB / 0.7418 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-06/0.4362, allocations: 0 / 0.7418 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.1e-05/0.4362, allocations: 17.62 kB / 0.7418 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.799e-05/0.4363, allocations: 9.188 kB / 0.7418 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4363, allocations: 0 / 0.7418 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.478e-05/0.4363, allocations: 38.66 kB / 0.7418 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.4363, allocations: 11.16 kB / 0.7419 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.4364, allocations: 4.125 kB / 0.7419 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.4364, allocations: 0.6562 kB / 0.7419 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.4364, allocations: 9.219 kB / 0.7419 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4364, allocations: 3.938 kB / 0.7419 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.529e-05/0.4365, allocations: 0 / 0.7419 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.4365, allocations: 4.672 kB / 0.7419 GB, free: 25.1 MB / 0.5105 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 (2): * Single equations (assignments): 2 * 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.671e-05/0.4365, allocations: 101 kB / 0.742 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/0.4366, allocations: 5.359 kB / 0.742 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.317e-05/0.4366, allocations: 54.92 kB / 0.742 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4367, allocations: 0 / 0.742 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4367, allocations: 3.812 kB / 0.742 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4367, allocations: 0 / 0.742 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.33e-05/0.4367, allocations: 125.4 kB / 0.7422 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4367, allocations: 0 / 0.7422 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.4368, allocations: 3.875 kB / 0.7422 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4368, allocations: 7.75 kB / 0.7422 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.4368, allocations: 2.125 kB / 0.7422 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4368, allocations: 5.547 kB / 0.7422 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.4368, allocations: 0 / 0.7422 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.487e-05/0.4369, allocations: 72.81 kB / 0.7422 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.4369, allocations: 86.48 kB / 0.7423 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.4369, allocations: 0 / 0.7423 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.437, allocations: 4.031 kB / 0.7423 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.437, allocations: 5.672 kB / 0.7423 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.437, allocations: 3.875 kB / 0.7423 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.192e-05/0.437, allocations: 75.28 kB / 0.7424 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001627/0.4372, allocations: 0 / 0.7424 GB, free: 24.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 9.697e-05/0.4373, allocations: 98.94 kB / 0.7425 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.492e-05/0.4373, allocations: 3.938 kB / 0.7425 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.4373, allocations: 4.125 kB / 0.7425 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.212e-06/0.4373, allocations: 7.844 kB / 0.7425 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.614e-05/0.4374, allocations: 5.531 kB / 0.7425 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001401/0.4376, allocations: 53.09 kB / 0.7426 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.4378, allocations: 0.6869 MB / 0.7432 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.4378, allocations: 0 / 0.7432 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.001479/0.4393, allocations: 206.2 kB / 0.7434 GB, free: 23.61 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)