Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2647/0.2647, allocations: 54.4 MB / 61.68 MB, free: 11.15 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.001355/0.001355, allocations: 180.1 kB / 75.37 MB, free: 1.508 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.383/1.383, allocations: 194.2 MB / 283.2 MB, free: 3.484 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.001758/0.001758, allocations: 113.3 kB / 341.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.346e-06/8.366e-06, allocations: 4 kB / 404.9 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1232, allocations: 57.64 MB / 462.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3305/0.4538, allocations: 84.45 MB / 0.5342 GB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.4541, allocations: 79.19 kB / 0.5343 GB, free: 12.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.002074/0.4561, allocations: 0.5303 MB / 0.5348 GB, free: 12.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.4562, allocations: 4 kB / 0.5348 GB, free: 12.11 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002781/0.4565, allocations: 323.3 kB / 0.5351 GB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001162/0.4566, allocations: 11.97 kB / 0.5351 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.4566, allocations: 3.906 kB / 0.5351 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.4568, allocations: 173.3 kB / 0.5353 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4569, allocations: 0 / 0.5353 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.4569, allocations: 3.938 kB / 0.5353 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.827e-05/0.4569, allocations: 7.938 kB / 0.5353 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.303e-05/0.457, allocations: 37.61 kB / 0.5354 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.457, allocations: 0 / 0.5354 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.457, allocations: 0 / 0.5354 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.457, allocations: 0 / 0.5354 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.4572, allocations: 133.2 kB / 0.5355 GB, free: 11.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.162e-05/0.4573, allocations: 21.58 kB / 0.5355 GB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.202e-05/0.4573, allocations: 8.922 kB / 0.5355 GB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007375/0.458, allocations: 0.6013 MB / 0.5361 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.4581, allocations: 34.56 kB / 0.5361 GB, free: 10.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.4581, allocations: 3.938 kB / 0.5361 GB, free: 10.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001865/0.4583, allocations: 36.3 kB / 0.5362 GB, free: 10.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.4583, allocations: 55.41 kB / 0.5362 GB, free: 10.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.559e-05/0.4584, allocations: 97 kB / 0.5363 GB, free: 10.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.4585, allocations: 26.58 kB / 0.5363 GB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.4585, allocations: 87.2 kB / 0.5364 GB, free: 10.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.4585, allocations: 7.844 kB / 0.5364 GB, free: 10.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.4585, allocations: 0 / 0.5364 GB, free: 10.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4587, allocations: 310.8 kB / 0.5367 GB, free: 9.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.4587, allocations: 7 kB / 0.5367 GB, free: 9.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-06/0.4587, allocations: 0 / 0.5367 GB, free: 9.844 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.4588, allocations: 8.062 kB / 0.5367 GB, free: 9.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4588, allocations: 1.969 kB / 0.5367 GB, free: 9.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001261/0.4589, allocations: 41.62 kB / 0.5368 GB, free: 9.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.459, allocations: 6.031 kB / 0.5368 GB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.459, allocations: 0 / 0.5368 GB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.459, allocations: 3.906 kB / 0.5368 GB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.459, allocations: 4 kB / 0.5368 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.4591, allocations: 0 / 0.5368 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.4591, allocations: 0 / 0.5368 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.4591, allocations: 4 kB / 0.5368 GB, free: 9.773 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 (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 6.603e-05/0.4592, allocations: 108.5 kB / 0.5369 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.4592, allocations: 3.906 kB / 0.5369 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.4593, allocations: 44.95 kB / 0.5369 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4593, allocations: 4 kB / 0.537 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4593, allocations: 0 / 0.537 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4594, allocations: 0 / 0.537 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.665e-05/0.4595, allocations: 133.6 kB / 0.5371 GB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4595, allocations: 0 / 0.5371 GB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.4595, allocations: 6.781 kB / 0.5371 GB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4595, allocations: 11.94 kB / 0.5371 GB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.4595, allocations: 3.938 kB / 0.5371 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.4595, allocations: 3.906 kB / 0.5371 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4595, allocations: 3.984 kB / 0.5371 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001019/0.4596, allocations: 60.19 kB / 0.5372 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.4597, allocations: 81.02 kB / 0.5372 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.4597, allocations: 4 kB / 0.5372 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.4598, allocations: 4.031 kB / 0.5372 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.4598, allocations: 3.984 kB / 0.5373 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.4598, allocations: 0 / 0.5373 GB, free: 9.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.295e-05/0.4598, allocations: 82.16 kB / 0.5373 GB, free: 9.156 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000207/0.46, allocations: 16 kB / 0.5373 GB, free: 9.141 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 (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.0001988/0.4602, allocations: 115.2 kB / 0.5375 GB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.615e-05/0.4603, allocations: 7.938 kB / 0.5375 GB, free: 9.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4603, allocations: 4.062 kB / 0.5375 GB, free: 9.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.4603, allocations: 4 kB / 0.5375 GB, free: 9.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.4606, allocations: 7.25 kB / 0.5375 GB, free: 9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.4608, allocations: 51.92 kB / 0.5375 GB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.4611, allocations: 0.6919 MB / 0.5382 GB, free: 8.207 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4611, allocations: 0 / 0.5382 GB, free: 8.207 MB / 378.7 MB Notification: Performance of Templates: time 0.002641/0.4638, allocations: 0.5779 MB / 0.5388 GB, free: 7.641 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)