Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.4894/0.4894, allocations: 94.74 MB / 102 MB, free: 10.37 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.001088/0.001087, allocations: 184.5 kB / 125.3 MB, free: 12 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.223/1.223, allocations: 170.5 MB / 319 MB, free: 9.344 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.00168/0.00168, allocations: 108.2 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.464e-06, allocations: 224 / 448.6 MB, free: 2.102 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1439, allocations: 61.51 MB / 0.4981 GB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3283/0.4721, allocations: 92.71 MB / 0.5887 GB, free: 9.629 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.4724, allocations: 82.23 kB / 0.5887 GB, free: 9.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.001967/0.4744, allocations: 0.49 MB / 0.5892 GB, free: 9.082 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.4744, allocations: 1.594 kB / 0.5892 GB, free: 9.082 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002513/0.4746, allocations: 320.9 kB / 0.5895 GB, free: 8.727 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.4747, allocations: 9.031 kB / 0.5895 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.4747, allocations: 0.8438 kB / 0.5895 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.4749, allocations: 168.6 kB / 0.5897 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.4749, allocations: 3.719 kB / 0.5897 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.4749, allocations: 2.656 kB / 0.5897 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.964e-05/0.4749, allocations: 4 kB / 0.5897 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.292e-05/0.475, allocations: 33.7 kB / 0.5897 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.475, allocations: 0 / 0.5897 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.475, allocations: 0 / 0.5897 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.475, allocations: 0 / 0.5897 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.4752, allocations: 134.2 kB / 0.5899 GB, free: 8.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.092e-05/0.4752, allocations: 32.66 kB / 0.5899 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.4753, allocations: 10.8 kB / 0.5899 GB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/0.4759, allocations: 0.6005 MB / 0.5905 GB, free: 7.535 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.4759, allocations: 34.56 kB / 0.5905 GB, free: 7.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4759, allocations: 0 / 0.5905 GB, free: 7.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001438/0.476, allocations: 33.7 kB / 0.5906 GB, free: 7.453 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.4761, allocations: 55.91 kB / 0.5906 GB, free: 7.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.328e-05/0.4762, allocations: 90.45 kB / 0.5907 GB, free: 7.293 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.4762, allocations: 26.45 kB / 0.5907 GB, free: 7.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.4762, allocations: 84.14 kB / 0.5908 GB, free: 7.176 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.4762, allocations: 7.844 kB / 0.5908 GB, free: 7.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.4763, allocations: 0.625 kB / 0.5908 GB, free: 7.168 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4764, allocations: 319.3 kB / 0.5911 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.4764, allocations: 8.031 kB / 0.5911 GB, free: 6.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-06/0.4764, allocations: 0 / 0.5911 GB, free: 6.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.963e-05/0.4765, allocations: 4 kB / 0.5911 GB, free: 6.836 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4765, allocations: 1.031 kB / 0.5911 GB, free: 6.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.112e-05/0.4766, allocations: 41.59 kB / 0.5912 GB, free: 6.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.4766, allocations: 5.406 kB / 0.5912 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.4766, allocations: 0 / 0.5912 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.4766, allocations: 0 / 0.5912 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.435e-05/0.4767, allocations: 4 kB / 0.5912 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.4767, allocations: 4.094 kB / 0.5912 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.4767, allocations: 0 / 0.5912 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.4767, allocations: 4 kB / 0.5912 GB, free: 6.773 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 (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.408e-05/0.4768, allocations: 108.9 kB / 0.5913 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.4768, allocations: 0 / 0.5913 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.4769, allocations: 52.36 kB / 0.5913 GB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.4769, allocations: 4 kB / 0.5914 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.4769, allocations: 3 kB / 0.5914 GB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4769, allocations: 4.031 kB / 0.5914 GB, free: 6.602 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.546e-05/0.477, allocations: 138.1 kB / 0.5915 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.477, allocations: 0.6562 kB / 0.5915 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.477, allocations: 0 / 0.5915 GB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4771, allocations: 4 kB / 0.5915 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.4771, allocations: 2.953 kB / 0.5915 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4771, allocations: 0 / 0.5915 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4771, allocations: 0 / 0.5915 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.319e-05/0.4772, allocations: 72.97 kB / 0.5916 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.4772, allocations: 77.11 kB / 0.5916 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.4772, allocations: 4 kB / 0.5916 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.4772, allocations: 0 / 0.5916 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.4773, allocations: 4.875 kB / 0.5916 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.4773, allocations: 0 / 0.5916 GB, free: 6.234 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.831e-05/0.4773, allocations: 79.28 kB / 0.5917 GB, free: 6.156 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001869/0.4775, allocations: 16 kB / 0.5917 GB, free: 6.141 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 (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.0001458/0.4777, allocations: 127.1 kB / 0.5919 GB, free: 6.008 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.522e-05/0.4777, allocations: 8 kB / 0.5919 GB, free: 6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4777, allocations: 4 kB / 0.5919 GB, free: 5.996 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.227e-06/0.4778, allocations: 4 kB / 0.5919 GB, free: 5.992 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.4779, allocations: 0 / 0.5919 GB, free: 5.992 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001597/0.4781, allocations: 52 kB / 0.5919 GB, free: 5.918 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.4783, allocations: 0.688 MB / 0.5926 GB, free: 5.203 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4783, allocations: 128 / 0.5926 GB, free: 5.203 MB / 410.7 MB Notification: Performance of Templates: time 0.002214/0.4805, allocations: 0.5835 MB / 0.5932 GB, free: 4.652 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)