Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 188 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4639/0.4639, allocations: 90.85 MB / 99.07 MB, free: 14.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.4 MB / 342.7 MB, free: 5.094 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 91.5 kB / 415.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.408e-06/9.979e-06, allocations: 4 kB / 493.9 MB, free: 8.012 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.4733, allocations: 72.3 MB / 0.5529 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.605, allocations: 100.9 MB / 0.6515 GB, free: 9.07 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.6053, allocations: 75.95 kB / 0.6515 GB, free: 8.996 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.005642/0.6109, allocations: 1.517 MB / 0.653 GB, free: 7.516 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.611, allocations: 1.094 kB / 0.653 GB, free: 7.516 MB / 474.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.0003288/0.6113, allocations: 346.2 kB / 0.6533 GB, free: 7.133 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.6114, allocations: 9.844 kB / 0.6534 GB, free: 7.125 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.6114, allocations: 4 kB / 0.6534 GB, free: 7.121 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.6116, allocations: 167 kB / 0.6535 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.6116, allocations: 0 / 0.6535 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.6116, allocations: 4 kB / 0.6535 GB, free: 6.914 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.691e-05/0.6117, allocations: 4.625 kB / 0.6535 GB, free: 6.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.6118, allocations: 42.38 kB / 0.6536 GB, free: 6.863 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6118, allocations: 0 / 0.6536 GB, free: 6.863 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6118, allocations: 4.812 kB / 0.6536 GB, free: 6.859 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.6119, allocations: 0 / 0.6536 GB, free: 6.859 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.6121, allocations: 139.1 kB / 0.6537 GB, free: 6.688 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.6122, allocations: 32.16 kB / 0.6537 GB, free: 6.648 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.855e-05/0.6122, allocations: 13.42 kB / 0.6537 GB, free: 6.633 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.6133, allocations: 1.17 MB / 0.6549 GB, free: 5.211 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.6133, allocations: 34 kB / 0.6549 GB, free: 5.172 MB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.6133, allocations: 0 / 0.6549 GB, free: 5.172 MB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002077/0.6136, allocations: 49.53 kB / 0.655 GB, free: 5.117 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.6136, allocations: 51.94 kB / 0.655 GB, free: 5.055 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.418e-05/0.6137, allocations: 100.6 kB / 0.6551 GB, free: 4.953 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.6137, allocations: 26.92 kB / 0.6551 GB, free: 4.922 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.6138, allocations: 84.14 kB / 0.6552 GB, free: 4.836 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.6138, allocations: 7.906 kB / 0.6552 GB, free: 4.828 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.6138, allocations: 0.5 kB / 0.6552 GB, free: 4.828 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.614, allocations: 315.4 kB / 0.6555 GB, free: 4.512 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.614, allocations: 5.656 kB / 0.6555 GB, free: 4.508 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.614, allocations: 4 kB / 0.6555 GB, free: 4.504 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.6141, allocations: 4 kB / 0.6555 GB, free: 4.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6141, allocations: 0 / 0.6555 GB, free: 4.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.393e-05/0.6142, allocations: 46.22 kB / 0.6556 GB, free: 4.449 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.6142, allocations: 8 kB / 0.6556 GB, free: 4.441 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6142, allocations: 0.5938 kB / 0.6556 GB, free: 4.441 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.6143, allocations: 0.8438 kB / 0.6556 GB, free: 4.441 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.6143, allocations: 11.88 kB / 0.6556 GB, free: 4.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6143, allocations: 0.5 kB / 0.6556 GB, free: 4.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.021e-05/0.6144, allocations: 3.938 kB / 0.6556 GB, free: 4.426 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.6144, allocations: 4.5 kB / 0.6556 GB, free: 4.422 MB / 474.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 8.12e-05/0.6145, allocations: 109.9 kB / 0.6557 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.6145, allocations: 4.719 kB / 0.6557 GB, free: 4.305 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.6147, allocations: 62.28 kB / 0.6558 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.6147, allocations: 0 / 0.6558 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/0.6147, allocations: 3.906 kB / 0.6558 GB, free: 4.227 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.6147, allocations: 0 / 0.6558 GB, free: 4.227 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.6148, allocations: 135.7 kB / 0.6559 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.6148, allocations: 0 / 0.6559 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.011e-05/0.6148, allocations: 8 kB / 0.6559 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.6149, allocations: 0 / 0.6559 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.6149, allocations: 11.92 kB / 0.6559 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6149, allocations: 1.562 kB / 0.6559 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6149, allocations: 0 / 0.6559 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001172/0.615, allocations: 73.03 kB / 0.656 GB, free: 3.949 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.6151, allocations: 84.11 kB / 0.6561 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.6151, allocations: 4 kB / 0.6561 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.6152, allocations: 1.75 kB / 0.6561 GB, free: 3.848 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.6152, allocations: 4.266 kB / 0.6561 GB, free: 3.844 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.6152, allocations: 8 kB / 0.6561 GB, free: 3.836 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.25e-05/0.6153, allocations: 83.28 kB / 0.6562 GB, free: 3.754 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002898/0.6156, allocations: 31.94 kB / 0.6562 GB, free: 3.723 MB / 474.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.0002641/0.6158, allocations: 123.2 kB / 0.6563 GB, free: 3.594 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.616, allocations: 19.91 kB / 0.6564 GB, free: 3.574 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.616, allocations: 0 / 0.6564 GB, free: 3.574 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/0.616, allocations: 12 kB / 0.6564 GB, free: 3.562 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.6162, allocations: 11.84 kB / 0.6564 GB, free: 3.551 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002126/0.6164, allocations: 67.78 kB / 0.6564 GB, free: 3.461 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.6167, allocations: 0.6915 MB / 0.6571 GB, free: 2.746 MB / 474.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6167, allocations: 0 / 0.6571 GB, free: 2.746 MB / 474.7 MB Notification: Performance of Templates: time 0.002816/0.6195, allocations: 0.8001 MB / 0.6579 GB, free: 1.98 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)