Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [: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/Annex60 1.0.0/package.mo): time 0.2814/0.2814, allocations: 54.39 MB / 61.67 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001126/0.001126, allocations: 184.8 kB / 75.37 MB, free: 1.469 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.367/1.367, allocations: 194.2 MB / 283.2 MB, free: 3.465 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001788/0.001788, allocations: 121.7 kB / 341.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.671e-06/5.771e-06, allocations: 0 / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1166, allocations: 57.65 MB / 462.6 MB, free: 1.953 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3362/0.4529, allocations: 84.83 MB / 0.5346 GB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4532, allocations: 74.89 kB / 0.5347 GB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.005076/0.4582, allocations: 1.463 MB / 0.5361 GB, free: 10.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.4583, allocations: 0 / 0.5361 GB, free: 10.95 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003373/0.4586, allocations: 354.9 kB / 0.5364 GB, free: 10.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4587, allocations: 11.97 kB / 0.5364 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.4587, allocations: 4 kB / 0.5364 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.4589, allocations: 166.9 kB / 0.5366 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.4589, allocations: 7.938 kB / 0.5366 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.4589, allocations: 0 / 0.5366 GB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.269e-05/0.459, allocations: 8 kB / 0.5366 GB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/0.4591, allocations: 41.38 kB / 0.5367 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.4591, allocations: 0 / 0.5367 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.4591, allocations: 0 / 0.5367 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4591, allocations: 0 / 0.5367 GB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.4593, allocations: 137.8 kB / 0.5368 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.962e-05/0.4594, allocations: 30.28 kB / 0.5368 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.265e-05/0.4594, allocations: 20.84 kB / 0.5368 GB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.4606, allocations: 1.163 MB / 0.538 GB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4606, allocations: 30.56 kB / 0.538 GB, free: 8.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.4606, allocations: 0 / 0.538 GB, free: 8.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002298/0.4608, allocations: 57.08 kB / 0.5381 GB, free: 8.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.4609, allocations: 55.41 kB / 0.5381 GB, free: 8.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.461, allocations: 93.33 kB / 0.5382 GB, free: 8.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.461, allocations: 25.7 kB / 0.5382 GB, free: 8.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.461, allocations: 88.12 kB / 0.5383 GB, free: 8.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.4611, allocations: 3.906 kB / 0.5383 GB, free: 8.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.4611, allocations: 0 / 0.5383 GB, free: 8.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4612, allocations: 314.5 kB / 0.5386 GB, free: 7.949 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.4612, allocations: 8 kB / 0.5386 GB, free: 7.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.068e-05/0.4613, allocations: 4 kB / 0.5386 GB, free: 7.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.698e-05/0.4613, allocations: 4 kB / 0.5386 GB, free: 7.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4613, allocations: 3.938 kB / 0.5386 GB, free: 7.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001079/0.4614, allocations: 47.16 kB / 0.5387 GB, free: 7.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4615, allocations: 6.031 kB / 0.5387 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4615, allocations: 0 / 0.5387 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4615, allocations: 0 / 0.5387 GB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.81e-05/0.4616, allocations: 8.547 kB / 0.5387 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4616, allocations: 320 / 0.5387 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.4616, allocations: 15.88 kB / 0.5387 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.4616, allocations: 0 / 0.5387 GB, free: 7.852 MB / 378.7 MB 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 (3): * Single equations (assignments): 3 * 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 7.526e-05/0.4617, allocations: 105.5 kB / 0.5388 GB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.4617, allocations: 4 kB / 0.5388 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.4619, allocations: 68.55 kB / 0.5389 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4619, allocations: 0 / 0.5389 GB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4619, allocations: 3.906 kB / 0.5389 GB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.4619, allocations: 3.984 kB / 0.5389 GB, free: 7.664 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.4621, allocations: 137.7 kB / 0.539 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4621, allocations: 3.984 kB / 0.539 GB, free: 7.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.4621, allocations: 7.938 kB / 0.539 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4621, allocations: 0 / 0.539 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.4621, allocations: 0 / 0.539 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4621, allocations: 0 / 0.539 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4621, allocations: 0 / 0.539 GB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001344/0.4623, allocations: 77.34 kB / 0.5391 GB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.4624, allocations: 90.38 kB / 0.5392 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.4624, allocations: 0 / 0.5392 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.4624, allocations: 4 kB / 0.5392 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.4625, allocations: 0.75 kB / 0.5392 GB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.4625, allocations: 7.938 kB / 0.5392 GB, free: 7.277 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.141e-05/0.4625, allocations: 82.16 kB / 0.5393 GB, free: 7.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.4627, allocations: 35.92 kB / 0.5393 GB, free: 7.164 MB / 378.7 MB 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 (3): * Single equations (assignments): 3 * 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.0002031/0.463, allocations: 123.2 kB / 0.5394 GB, free: 7.031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.387e-05/0.463, allocations: 10.69 kB / 0.5394 GB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4631, allocations: 0 / 0.5394 GB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.4631, allocations: 9.062 kB / 0.5394 GB, free: 7.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.4632, allocations: 10.84 kB / 0.5395 GB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.4635, allocations: 72.28 kB / 0.5395 GB, free: 6.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.4638, allocations: 0.6999 MB / 0.5402 GB, free: 6.195 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/0.4638, allocations: 0 / 0.5402 GB, free: 6.195 MB / 378.7 MB Notification: Performance of Templates: time 0.003074/0.4669, allocations: 0.8027 MB / 0.541 GB, free: 5.406 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)