Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7187/0.7187, allocations: 141.8 MB / 149.1 MB, free: 4.574 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 183.2 kB / 181.9 MB, free: 252 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.3 MB / 436 MB, free: 9.438 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009782, allocations: 92.11 kB / 0.507 GB, free: 24.16 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001775/0.001775, allocations: 277.8 kB / 0.5884 GB, free: 12.43 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.777e-06/8.887e-06, allocations: 3.938 kB / 0.6759 GB, free: 2.781 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3957, allocations: 82.76 MB / 0.7567 GB, free: 113.1 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.5076, allocations: 107.6 MB / 0.8618 GB, free: 5.344 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001965/0.5078, allocations: 83.69 kB / 0.8619 GB, free: 5.266 MB / 0.5263 GB Notification: Performance of FrontEnd: time 0.001942/0.5098, allocations: 0.5515 MB / 0.8624 GB, free: 4.73 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.5098, allocations: 0 / 0.8624 GB, free: 4.73 MB / 0.5263 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.0001813/0.51, allocations: 319.3 kB / 0.8627 GB, free: 4.375 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.51, allocations: 10.53 kB / 0.8627 GB, free: 4.367 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.5101, allocations: 4 kB / 0.8627 GB, free: 4.363 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.5102, allocations: 167 kB / 0.8629 GB, free: 4.16 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.5102, allocations: 0.8438 kB / 0.8629 GB, free: 4.16 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.5102, allocations: 0 / 0.8629 GB, free: 4.16 MB / 0.5263 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.981e-05/0.5103, allocations: 7.938 kB / 0.8629 GB, free: 4.152 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.975e-05/0.5103, allocations: 30.8 kB / 0.8629 GB, free: 4.117 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.5103, allocations: 0 / 0.8629 GB, free: 4.117 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.5103, allocations: 0.8125 kB / 0.8629 GB, free: 4.117 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.5103, allocations: 0 / 0.8629 GB, free: 4.117 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.5105, allocations: 142.4 kB / 0.8631 GB, free: 3.945 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.5105, allocations: 23.36 kB / 0.8631 GB, free: 3.914 MB / 0.5263 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.5105, allocations: 8.922 kB / 0.8631 GB, free: 3.902 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004971/0.511, allocations: 0.5998 MB / 0.8637 GB, free: 3.18 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.5111, allocations: 39.22 kB / 0.8637 GB, free: 3.133 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5111, allocations: 0.625 kB / 0.8637 GB, free: 3.133 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2): time 0.0001425/0.5112, allocations: 34.42 kB / 0.8637 GB, free: 3.094 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.497e-05/0.5112, allocations: 51.41 kB / 0.8638 GB, free: 3.031 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.031e-05/0.5113, allocations: 97.58 kB / 0.8639 GB, free: 2.93 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.5113, allocations: 26.61 kB / 0.8639 GB, free: 2.898 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 1.265e-05/0.5113, allocations: 80.14 kB / 0.864 GB, free: 2.816 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.5113, allocations: 8.344 kB / 0.864 GB, free: 2.809 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-06/0.5114, allocations: 0.5625 kB / 0.864 GB, free: 2.809 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.5114, allocations: 315.6 kB / 0.8643 GB, free: 2.492 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.5114, allocations: 4.625 kB / 0.8643 GB, free: 2.488 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.5114, allocations: 0 / 0.8643 GB, free: 2.488 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.5115, allocations: 4.594 kB / 0.8643 GB, free: 2.484 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5115, allocations: 0.625 kB / 0.8643 GB, free: 2.484 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.398e-05/0.5115, allocations: 47.25 kB / 0.8644 GB, free: 2.434 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.5116, allocations: 4 kB / 0.8644 GB, free: 2.43 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5116, allocations: 4 kB / 0.8644 GB, free: 2.426 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.5116, allocations: 0 / 0.8644 GB, free: 2.426 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.65e-05/0.5116, allocations: 8.594 kB / 0.8644 GB, free: 2.418 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.5116, allocations: 4 kB / 0.8644 GB, free: 2.414 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.5117, allocations: 0.6562 kB / 0.8644 GB, free: 2.414 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.5117, allocations: 0 / 0.8644 GB, free: 2.414 MB / 0.5263 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 4.129e-05/0.5117, allocations: 106.1 kB / 0.8645 GB, free: 2.305 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.5117, allocations: 3.984 kB / 0.8645 GB, free: 2.301 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.465e-05/0.5118, allocations: 49.38 kB / 0.8645 GB, free: 2.254 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5118, allocations: 1.719 kB / 0.8645 GB, free: 2.254 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5118, allocations: 0 / 0.8645 GB, free: 2.254 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5119, allocations: 4.828 kB / 0.8645 GB, free: 2.25 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.13e-05/0.5119, allocations: 142.1 kB / 0.8647 GB, free: 2.074 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5119, allocations: 4.531 kB / 0.8647 GB, free: 2.07 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.5119, allocations: 4.656 kB / 0.8647 GB, free: 2.066 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.512, allocations: 0 / 0.8647 GB, free: 2.066 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.512, allocations: 0.5625 kB / 0.8647 GB, free: 2.066 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.512, allocations: 0 / 0.8647 GB, free: 2.066 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.512, allocations: 5.297 kB / 0.8647 GB, free: 2.062 MB / 0.5263 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.698e-05/0.5121, allocations: 57.58 kB / 0.8647 GB, free: 1.988 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.783e-05/0.5121, allocations: 90.23 kB / 0.8648 GB, free: 1.883 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.5121, allocations: 0 / 0.8648 GB, free: 1.883 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.786e-05/0.5121, allocations: 3.984 kB / 0.8648 GB, free: 1.879 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.5121, allocations: 0 / 0.8648 GB, free: 1.879 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.5121, allocations: 0 / 0.8648 GB, free: 1.879 MB / 0.5263 GB Notification: Performance of sort global known variables: time 1.617e-05/0.5122, allocations: 79.28 kB / 0.8649 GB, free: 1.801 MB / 0.5263 GB Notification: Performance of remove unused functions: time 0.0001794/0.5123, allocations: 16 kB / 0.8649 GB, free: 1.785 MB / 0.5263 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.0001281/0.5125, allocations: 115.1 kB / 0.865 GB, free: 1.66 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 5.734e-05/0.5125, allocations: 15.94 kB / 0.865 GB, free: 1.645 MB / 0.5263 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5126, allocations: 0 / 0.865 GB, free: 1.645 MB / 0.5263 GB Notification: Performance of simCode: created simulation system equations: time 8.676e-06/0.5126, allocations: 9.594 kB / 0.8651 GB, free: 1.637 MB / 0.5263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.5127, allocations: 4 kB / 0.8651 GB, free: 1.633 MB / 0.5263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001472/0.5129, allocations: 48.06 kB / 0.8651 GB, free: 1.562 MB / 0.5263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.513, allocations: 0.6841 MB / 0.8658 GB, free: 0.8516 MB / 0.5263 GB Notification: Performance of SimCode: time 8.71e-07/0.513, allocations: 0 / 0.8658 GB, free: 0.8516 MB / 0.5263 GB Notification: Performance of Templates: time 0.002212/0.5152, allocations: 0.5832 MB / 0.8663 GB, free: 292 kB / 0.5263 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)