Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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/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/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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [: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.003154/0.003154, allocations: 182.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6676/0.6676, allocations: 130.6 MB / 138.5 MB, free: 2.227 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.3 MB / 391.4 MB, free: 13.01 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.0009091/0.0009091, allocations: 108.3 kB / 473.5 MB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.847e-06/8.847e-06, allocations: 5.125 kB / 0.5479 GB, free: 89.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1562, allocations: 81.57 MB / 0.6276 GB, free: 18.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4183/0.5746, allocations: 110.1 MB / 0.7351 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5749, allocations: 76.22 kB / 0.7351 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.002106/0.577, allocations: 0.5534 MB / 0.7357 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.577, allocations: 1.531 kB / 0.7357 GB, free: 11.41 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.0003336/0.5774, allocations: 322.3 kB / 0.736 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5774, allocations: 7.719 kB / 0.736 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.5774, allocations: 8.609 kB / 0.736 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.5776, allocations: 171.5 kB / 0.7362 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.5776, allocations: 0.6562 kB / 0.7362 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.5776, allocations: 0 / 0.7362 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.332e-05/0.5777, allocations: 3.844 kB / 0.7362 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.621e-05/0.5778, allocations: 31.69 kB / 0.7362 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.5778, allocations: 0 / 0.7362 GB, free: 26.83 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.5778, allocations: 3.906 kB / 0.7362 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5778, allocations: 3.938 kB / 0.7362 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.5779, allocations: 132.7 kB / 0.7363 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.459e-05/0.578, allocations: 22.33 kB / 0.7363 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.578, allocations: 14.59 kB / 0.7364 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006351/0.5787, allocations: 0.5974 MB / 0.7369 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.5787, allocations: 39.3 kB / 0.737 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.5787, allocations: 3.984 kB / 0.737 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001791/0.5789, allocations: 39.44 kB / 0.737 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.5789, allocations: 51.41 kB / 0.7371 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.579, allocations: 89.42 kB / 0.7372 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.579, allocations: 26.36 kB / 0.7372 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.579, allocations: 83.95 kB / 0.7373 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.5791, allocations: 16.45 kB / 0.7373 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.5791, allocations: 0 / 0.7373 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.202e-05/0.5792, allocations: 315.5 kB / 0.7376 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-06/0.5792, allocations: 3.938 kB / 0.7376 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-06/0.5792, allocations: 3.969 kB / 0.7376 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.5792, allocations: 4.406 kB / 0.7376 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5792, allocations: 0 / 0.7376 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.245e-05/0.5793, allocations: 43.28 kB / 0.7376 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.5793, allocations: 3.906 kB / 0.7376 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5794, allocations: 4 kB / 0.7376 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.5794, allocations: 0 / 0.7376 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.094e-05/0.5794, allocations: 4.469 kB / 0.7376 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.5794, allocations: 0.7969 kB / 0.7376 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.5795, allocations: 4.844 kB / 0.7376 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.5795, allocations: 7.859 kB / 0.7377 GB, free: 25.24 MB / 0.5105 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 (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.54e-05/0.5795, allocations: 101.5 kB / 0.7378 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.5795, allocations: 0 / 0.7378 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.5797, allocations: 52.19 kB / 0.7378 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5797, allocations: 10 kB / 0.7378 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5797, allocations: 0 / 0.7378 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5797, allocations: 0 / 0.7378 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.161e-05/0.5798, allocations: 128.9 kB / 0.7379 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5798, allocations: 0 / 0.7379 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.5798, allocations: 4.594 kB / 0.7379 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5798, allocations: 0 / 0.7379 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.5798, allocations: 0.7969 kB / 0.7379 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5798, allocations: 0 / 0.7379 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5798, allocations: 0 / 0.7379 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.994e-05/0.5799, allocations: 67.09 kB / 0.738 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.58, allocations: 81.59 kB / 0.7381 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.58, allocations: 8.453 kB / 0.7381 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.8e-05/0.58, allocations: 0 / 0.7381 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.58, allocations: 0.75 kB / 0.7381 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.58, allocations: 0.8906 kB / 0.7381 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.048e-05/0.5801, allocations: 82.66 kB / 0.7382 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001957/0.5803, allocations: 20.06 kB / 0.7382 GB, free: 24.68 MB / 0.5105 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 (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 0.0001565/0.5804, allocations: 116.4 kB / 0.7383 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.93e-05/0.5805, allocations: 8.344 kB / 0.7383 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5805, allocations: 0 / 0.7383 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.834e-06/0.5805, allocations: 7.781 kB / 0.7383 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.5807, allocations: 8.875 kB / 0.7383 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.5809, allocations: 54.52 kB / 0.7384 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.5811, allocations: 0.6918 MB / 0.7391 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.5811, allocations: 0 / 0.7391 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.002414/0.5835, allocations: 0.5744 MB / 0.7396 GB, free: 23.76 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)