Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.6991/0.6991, allocations: 141.8 MB / 149.1 MB, free: 13.5 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 181 kB / 181.9 MB, free: 10.16 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 221.4 MB / 436 MB, free: 2.633 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.001007/0.001007, allocations: 102.7 kB / 0.507 GB, free: 17.75 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001765/0.001765, allocations: 269.5 kB / 0.5884 GB, free: 4.156 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 6.643e-06/6.673e-06, allocations: 1.406 kB / 0.6759 GB, free: 136.7 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1559, allocations: 82.78 MB / 0.7567 GB, free: 83.83 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.2773, allocations: 108 MB / 0.8622 GB, free: 7.727 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/0.2776, allocations: 80.72 kB / 0.8622 GB, free: 7.648 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.004919/0.2826, allocations: 1.504 MB / 0.8637 GB, free: 6.145 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.2826, allocations: 0 / 0.8637 GB, free: 6.145 MB / 0.5419 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.000388/0.283, allocations: 342.4 kB / 0.864 GB, free: 5.762 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 6.863e-05/0.2831, allocations: 12.03 kB / 0.864 GB, free: 5.75 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.511e-05/0.2831, allocations: 3.906 kB / 0.864 GB, free: 5.746 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.2833, allocations: 171.1 kB / 0.8642 GB, free: 5.539 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2834, allocations: 0 / 0.8642 GB, free: 5.539 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2834, allocations: 3.906 kB / 0.8642 GB, free: 5.535 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.627e-05/0.2835, allocations: 8 kB / 0.8642 GB, free: 5.527 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.196e-05/0.2836, allocations: 37.62 kB / 0.8643 GB, free: 5.484 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2836, allocations: 0 / 0.8643 GB, free: 5.484 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2836, allocations: 0 / 0.8643 GB, free: 5.484 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2836, allocations: 0 / 0.8643 GB, free: 5.484 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.2838, allocations: 138.3 kB / 0.8644 GB, free: 5.312 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.2839, allocations: 30.58 kB / 0.8644 GB, free: 5.273 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.284, allocations: 8.922 kB / 0.8644 GB, free: 5.262 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/0.2852, allocations: 1.171 MB / 0.8656 GB, free: 3.832 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.2853, allocations: 46.47 kB / 0.8656 GB, free: 3.777 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.2853, allocations: 0 / 0.8656 GB, free: 3.777 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3): time 0.0002605/0.2855, allocations: 45.62 kB / 0.8657 GB, free: 3.727 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.2856, allocations: 51.41 kB / 0.8657 GB, free: 3.664 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/0.2857, allocations: 97 kB / 0.8658 GB, free: 3.562 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2857, allocations: 25.7 kB / 0.8658 GB, free: 3.531 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.2857, allocations: 80.14 kB / 0.8659 GB, free: 3.449 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.2858, allocations: 19.73 kB / 0.8659 GB, free: 3.43 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.2858, allocations: 7.938 kB / 0.8659 GB, free: 3.422 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2859, allocations: 310.8 kB / 0.8662 GB, free: 3.109 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.286, allocations: 4 kB / 0.8662 GB, free: 3.105 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.286, allocations: 4 kB / 0.8662 GB, free: 3.102 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/0.286, allocations: 4 kB / 0.8662 GB, free: 3.098 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.286, allocations: 0 / 0.8662 GB, free: 3.098 MB / 0.5419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001057/0.2861, allocations: 49.62 kB / 0.8663 GB, free: 3.043 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2862, allocations: 7.938 kB / 0.8663 GB, free: 3.035 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2862, allocations: 0 / 0.8663 GB, free: 3.035 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2862, allocations: 0 / 0.8663 GB, free: 3.035 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.2863, allocations: 12 kB / 0.8663 GB, free: 3.023 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2863, allocations: 3.906 kB / 0.8663 GB, free: 3.02 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.2863, allocations: 3.984 kB / 0.8663 GB, free: 3.016 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2863, allocations: 0 / 0.8663 GB, free: 3.016 MB / 0.5419 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 9.23e-05/0.2864, allocations: 103.7 kB / 0.8664 GB, free: 2.91 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.2864, allocations: 7.906 kB / 0.8664 GB, free: 2.902 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.2867, allocations: 57.69 kB / 0.8665 GB, free: 2.836 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2867, allocations: 0 / 0.8665 GB, free: 2.836 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2867, allocations: 4 kB / 0.8665 GB, free: 2.832 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.2867, allocations: 4 kB / 0.8665 GB, free: 2.828 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.2868, allocations: 138.2 kB / 0.8666 GB, free: 2.656 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.2868, allocations: 3.906 kB / 0.8666 GB, free: 2.652 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/0.2868, allocations: 11.92 kB / 0.8666 GB, free: 2.641 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2869, allocations: 0 / 0.8666 GB, free: 2.641 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.2869, allocations: 8 kB / 0.8666 GB, free: 2.633 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.2869, allocations: 0 / 0.8666 GB, free: 2.633 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2869, allocations: 0 / 0.8666 GB, free: 2.633 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001166/0.287, allocations: 69.03 kB / 0.8667 GB, free: 2.547 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.487e-05/0.2871, allocations: 85.11 kB / 0.8668 GB, free: 2.445 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.2871, allocations: 0 / 0.8668 GB, free: 2.445 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.334e-05/0.2872, allocations: 7.891 kB / 0.8668 GB, free: 2.438 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.2872, allocations: 4 kB / 0.8668 GB, free: 2.434 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2872, allocations: 4 kB / 0.8668 GB, free: 2.43 MB / 0.5419 GB Notification: Performance of sort global known variables: time 4.948e-05/0.2872, allocations: 83.58 kB / 0.8669 GB, free: 2.348 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0002189/0.2875, allocations: 35.92 kB / 0.8669 GB, free: 2.312 MB / 0.5419 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.0002061/0.2877, allocations: 131.2 kB / 0.867 GB, free: 2.176 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.077e-05/0.2878, allocations: 12.22 kB / 0.867 GB, free: 2.164 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2878, allocations: 0 / 0.867 GB, free: 2.164 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.2878, allocations: 8 kB / 0.8671 GB, free: 2.156 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.2879, allocations: 14.56 kB / 0.8671 GB, free: 2.145 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.2882, allocations: 63.38 kB / 0.8671 GB, free: 2.062 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/0.2885, allocations: 0.6954 MB / 0.8678 GB, free: 1.344 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.2885, allocations: 3.938 kB / 0.8678 GB, free: 1.34 MB / 0.5419 GB Notification: Performance of Templates: time 0.00296/0.2915, allocations: 0.8003 MB / 0.8686 GB, free: 0.543 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)