Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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 1.6.0+build.1/package.mo): time 0.4775/0.4775, allocations: 94.74 MB / 102 MB, free: 10.38 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001331/0.001331, allocations: 179 kB / 125.3 MB, free: 12.02 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.284/1.284, allocations: 170.5 MB / 319 MB, free: 9.43 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001772/0.001772, allocations: 116.8 kB / 381 MB, free: 18.17 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.146e-05/1.19e-05, allocations: 4 kB / 448.6 MB, free: 2.148 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.157, allocations: 61.52 MB / 0.4981 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3805/0.5375, allocations: 93.07 MB / 0.589 GB, free: 9.348 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.5378, allocations: 78.45 kB / 0.5891 GB, free: 9.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.004942/0.5428, allocations: 1.393 MB / 0.5905 GB, free: 7.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.5428, allocations: 0 / 0.5905 GB, free: 7.93 MB / 410.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.0003283/0.5431, allocations: 345.3 kB / 0.5908 GB, free: 7.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.5432, allocations: 9.031 kB / 0.5908 GB, free: 7.543 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.5433, allocations: 6.531 kB / 0.5908 GB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.5434, allocations: 161.7 kB / 0.591 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.5434, allocations: 0 / 0.591 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.5434, allocations: 9.312 kB / 0.591 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.561e-05/0.5435, allocations: 14.5 kB / 0.591 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.479e-05/0.5436, allocations: 34.86 kB / 0.591 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5436, allocations: 0 / 0.591 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.5437, allocations: 5 kB / 0.591 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.5437, allocations: 0 / 0.591 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.5439, allocations: 134.8 kB / 0.5911 GB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.649e-05/0.544, allocations: 32.73 kB / 0.5912 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.544, allocations: 12.92 kB / 0.5912 GB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.5451, allocations: 1.169 MB / 0.5923 GB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.5451, allocations: 43.95 kB / 0.5924 GB, free: 5.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.5451, allocations: 0 / 0.5924 GB, free: 5.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002221/0.5454, allocations: 37.7 kB / 0.5924 GB, free: 5.539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.5454, allocations: 51.41 kB / 0.5925 GB, free: 5.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.664e-05/0.5455, allocations: 101 kB / 0.5926 GB, free: 5.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.5455, allocations: 27.02 kB / 0.5926 GB, free: 5.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.413e-05/0.5456, allocations: 84.14 kB / 0.5927 GB, free: 5.254 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.5456, allocations: 15.81 kB / 0.5927 GB, free: 5.238 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.5456, allocations: 0 / 0.5927 GB, free: 5.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.5458, allocations: 310.8 kB / 0.593 GB, free: 4.926 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.5458, allocations: 6.516 kB / 0.593 GB, free: 4.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.5458, allocations: 3.984 kB / 0.593 GB, free: 4.918 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.589e-05/0.5459, allocations: 8 kB / 0.593 GB, free: 4.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5459, allocations: 0 / 0.593 GB, free: 4.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001089/0.546, allocations: 49.09 kB / 0.593 GB, free: 4.859 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.5461, allocations: 12 kB / 0.5931 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5461, allocations: 0 / 0.5931 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.5461, allocations: 0 / 0.5931 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.5462, allocations: 4 kB / 0.5931 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5462, allocations: 7.469 kB / 0.5931 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.5462, allocations: 3.938 kB / 0.5931 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5462, allocations: 4 kB / 0.5931 GB, free: 4.832 MB / 410.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.513e-05/0.5463, allocations: 101 kB / 0.5932 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.5463, allocations: 3.906 kB / 0.5932 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.5465, allocations: 76.27 kB / 0.5932 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5465, allocations: 0 / 0.5932 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5465, allocations: 0 / 0.5932 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5466, allocations: 0 / 0.5932 GB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.5467, allocations: 136.6 kB / 0.5934 GB, free: 4.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5467, allocations: 7.906 kB / 0.5934 GB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.5467, allocations: 8 kB / 0.5934 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.5467, allocations: 0 / 0.5934 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.5467, allocations: 0 / 0.5934 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5467, allocations: 224 / 0.5934 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5468, allocations: 0 / 0.5934 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001366/0.5469, allocations: 80.97 kB / 0.5935 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-05/0.547, allocations: 81.09 kB / 0.5935 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.547, allocations: 4 kB / 0.5935 GB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.5471, allocations: 7.906 kB / 0.5936 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.5471, allocations: 0 / 0.5936 GB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.5471, allocations: 4 kB / 0.5936 GB, free: 4.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.571e-05/0.5472, allocations: 89.73 kB / 0.5936 GB, free: 4.164 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.5474, allocations: 27.94 kB / 0.5937 GB, free: 4.137 MB / 410.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.0002192/0.5476, allocations: 127.2 kB / 0.5938 GB, free: 4.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.78e-05/0.5477, allocations: 8 kB / 0.5938 GB, free: 3.996 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5477, allocations: 4 kB / 0.5938 GB, free: 3.992 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.681e-05/0.5477, allocations: 15.98 kB / 0.5938 GB, free: 3.977 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.5479, allocations: 6.859 kB / 0.5938 GB, free: 3.973 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.5481, allocations: 69.28 kB / 0.5939 GB, free: 3.883 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003236/0.5485, allocations: 0.6876 MB / 0.5946 GB, free: 3.172 MB / 410.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5485, allocations: 0 / 0.5946 GB, free: 3.172 MB / 410.7 MB Notification: Performance of Templates: time 0.003233/0.5517, allocations: 0.8015 MB / 0.5953 GB, free: 2.41 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)