Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.394/1.394, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 173.4 kB / 366.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.125/1.125, allocations: 205.2 MB / 0.6256 GB, free: 5.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007987/0.0007987, allocations: 85.03 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.732e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.446, allocations: 116.3 MB / 0.9726 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.5889, allocations: 138.2 MB / 1.108 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001665/0.5891, allocations: 72.64 kB / 1.108 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004579/0.5937, allocations: 1.473 MB / 1.109 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.5937, allocations: 0 / 1.109 GB, free: 8.695 MB / 0.7136 GB 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.0002601/0.594, allocations: 342.4 kB / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.5941, allocations: 8.031 kB / 1.109 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.5941, allocations: 7.906 kB / 1.109 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.5942, allocations: 163 kB / 1.11 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.5942, allocations: 4 kB / 1.11 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.5943, allocations: 0 / 1.11 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.522e-05/0.5943, allocations: 12.48 kB / 1.11 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.163e-05/0.5944, allocations: 37.7 kB / 1.11 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.5944, allocations: 0 / 1.11 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.5944, allocations: 0 / 1.11 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5944, allocations: 0 / 1.11 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.5946, allocations: 142.2 kB / 1.11 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.5947, allocations: 38.52 kB / 1.11 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.5947, allocations: 8.922 kB / 1.11 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.5958, allocations: 1.167 MB / 1.111 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.5959, allocations: 39.06 kB / 1.111 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.5959, allocations: 0 / 1.111 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002614/0.5961, allocations: 41.67 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.5962, allocations: 59.41 kB / 1.111 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.143e-05/0.5963, allocations: 92.98 kB / 1.111 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.5963, allocations: 25.7 kB / 1.111 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/0.5964, allocations: 97.86 kB / 1.111 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.5964, allocations: 7.812 kB / 1.111 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.5964, allocations: 0 / 1.111 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.5965, allocations: 310.8 kB / 1.112 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.5965, allocations: 4 kB / 1.112 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.5965, allocations: 8 kB / 1.112 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.026e-05/0.5966, allocations: 7.984 kB / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5966, allocations: 0 / 1.112 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.404e-05/0.5967, allocations: 45.62 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.5967, allocations: 8 kB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5967, allocations: 3.906 kB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.5967, allocations: 0 / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.903e-05/0.5968, allocations: 4.5 kB / 1.112 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.5968, allocations: 4 kB / 1.112 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.5968, allocations: 3.938 kB / 1.112 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.5968, allocations: 0 / 1.112 GB, free: 5.578 MB / 0.7136 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 (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 6.657e-05/0.5969, allocations: 105 kB / 1.112 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.5969, allocations: 7.906 kB / 1.112 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.5971, allocations: 68.98 kB / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5971, allocations: 0.6562 kB / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5971, allocations: 0 / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5971, allocations: 0 / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.345e-05/0.5972, allocations: 142.1 kB / 1.112 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5972, allocations: 4.625 kB / 1.112 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.5973, allocations: 4 kB / 1.112 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5973, allocations: 0 / 1.112 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.5973, allocations: 0.8438 kB / 1.112 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5973, allocations: 4 kB / 1.112 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5973, allocations: 4 kB / 1.112 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001288/0.5974, allocations: 69.03 kB / 1.112 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.5975, allocations: 89 kB / 1.112 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.5975, allocations: 4 kB / 1.112 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.877e-05/0.5976, allocations: 0 / 1.112 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.5976, allocations: 4 kB / 1.112 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.5976, allocations: 0 / 1.112 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.266e-05/0.5977, allocations: 94.52 kB / 1.112 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002015/0.5979, allocations: 35.88 kB / 1.112 GB, free: 4.863 MB / 0.7136 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 (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.0001904/0.5981, allocations: 123.2 kB / 1.112 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.383e-05/0.5981, allocations: 16 kB / 1.112 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.5982, allocations: 4 kB / 1.112 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.5982, allocations: 4 kB / 1.112 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.5983, allocations: 15.34 kB / 1.112 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000195/0.5985, allocations: 71.7 kB / 1.112 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.5988, allocations: 0.6915 MB / 1.113 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.5988, allocations: 0 / 1.113 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of Templates: time 0.00259/0.6014, allocations: 0.7908 MB / 1.114 GB, free: 3.133 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)