Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") [: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.002137/0.002137, allocations: 179.9 kB / 7.463 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5982/0.5982, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.106/1.106, allocations: 221.3 MB / 395 MB, free: 10.22 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.0008681/0.000868, allocations: 101.3 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.242e-06, allocations: 3.031 kB / 0.5528 GB, free: 89.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 82.3 MB / 0.6332 GB, free: 14.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.305/0.4056, allocations: 109.7 MB / 0.7403 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001626/0.4058, allocations: 68.59 kB / 0.7404 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0008738/0.4067, allocations: 169.5 kB / 0.7405 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.4067, allocations: 0 / 0.7405 GB, free: 10.79 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002178/0.4069, allocations: 313.2 kB / 0.7408 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.661e-05/0.4069, allocations: 12.58 kB / 0.7409 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.368e-05/0.407, allocations: 7.812 kB / 0.7409 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.4072, allocations: 175.8 kB / 0.741 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-06/0.4072, allocations: 3.938 kB / 0.741 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.4072, allocations: 3.906 kB / 0.741 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.434e-05/0.4072, allocations: 5.281 kB / 0.741 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.935e-05/0.4073, allocations: 31.67 kB / 0.7411 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.4073, allocations: 0.6562 kB / 0.7411 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.4073, allocations: 7.938 kB / 0.7411 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.4073, allocations: 0 / 0.7411 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.4074, allocations: 133.3 kB / 0.7412 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.69e-05/0.4075, allocations: 22.77 kB / 0.7412 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.4075, allocations: 5.562 kB / 0.7412 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.4075, allocations: 4.531 kB / 0.7412 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.4075, allocations: 30.56 kB / 0.7413 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.4075, allocations: 4 kB / 0.7413 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001042/0.4077, allocations: 40.86 kB / 0.7413 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.4077, allocations: 51.41 kB / 0.7414 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.848e-05/0.4077, allocations: 104 kB / 0.7415 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.4078, allocations: 29.58 kB / 0.7415 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.4078, allocations: 87.75 kB / 0.7416 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.4078, allocations: 4.609 kB / 0.7416 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-06/0.4078, allocations: 0 / 0.7416 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.4079, allocations: 315.5 kB / 0.7419 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.4079, allocations: 5.156 kB / 0.7419 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.4e-05/0.4079, allocations: 17.84 kB / 0.7419 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.562e-05/0.408, allocations: 5.922 kB / 0.7419 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.408, allocations: 3.938 kB / 0.7419 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.062e-05/0.408, allocations: 46.89 kB / 0.742 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.4081, allocations: 7.875 kB / 0.742 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.4081, allocations: 4 kB / 0.742 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.4081, allocations: 0 / 0.742 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.4081, allocations: 5.234 kB / 0.742 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.4081, allocations: 3.906 kB / 0.742 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.4082, allocations: 0.5156 kB / 0.742 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.4082, allocations: 3.875 kB / 0.742 GB, free: 25.28 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 8.421e-05/0.4083, allocations: 105.5 kB / 0.7421 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-06/0.4083, allocations: 0 / 0.7421 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.493e-05/0.4084, allocations: 58.11 kB / 0.7421 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4084, allocations: 0 / 0.7421 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.4084, allocations: 0 / 0.7421 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4084, allocations: 0.75 kB / 0.7421 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.269e-05/0.4085, allocations: 136.1 kB / 0.7423 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4085, allocations: 4.875 kB / 0.7423 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.4085, allocations: 3.906 kB / 0.7423 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4085, allocations: 4.688 kB / 0.7423 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.4086, allocations: 5.922 kB / 0.7423 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4086, allocations: 3.906 kB / 0.7423 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4086, allocations: 1.672 kB / 0.7423 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.3e-05/0.4087, allocations: 76.69 kB / 0.7424 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.4087, allocations: 81.77 kB / 0.7424 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.4087, allocations: 0.5156 kB / 0.7424 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.109e-05/0.4087, allocations: 0 / 0.7424 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-06/0.4088, allocations: 4.953 kB / 0.7424 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.4088, allocations: 0 / 0.7424 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.74e-05/0.4088, allocations: 91.67 kB / 0.7425 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001656/0.409, allocations: 4.406 kB / 0.7425 GB, free: 24.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.18e-05/0.4091, allocations: 104 kB / 0.7426 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.214e-05/0.4091, allocations: 13.98 kB / 0.7426 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.4091, allocations: 0 / 0.7426 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.023e-05/0.4092, allocations: 8.438 kB / 0.7427 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.41e-05/0.4092, allocations: 11.61 kB / 0.7427 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.4094, allocations: 75.67 kB / 0.7427 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.4096, allocations: 0.6962 MB / 0.7434 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4096, allocations: 3.906 kB / 0.7434 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.001458/0.4111, allocations: 267.3 kB / 0.7437 GB, free: 23.79 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)