Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 191.2 kB / 7.809 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.4631/0.4631, allocations: 90.85 MB / 99.08 MB, free: 14.9 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.39/1.39, allocations: 221.4 MB / 342.8 MB, free: 5.078 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.00102/0.00102, allocations: 93.33 kB / 415.5 MB, free: 6.379 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.127e-06/9.157e-06, allocations: 0 / 493.9 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4783, allocations: 72.29 MB / 0.5529 GB, free: 73.28 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.6114, allocations: 100.5 MB / 0.6511 GB, free: 9.461 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/0.6117, allocations: 75.95 kB / 0.6511 GB, free: 9.387 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.002416/0.6141, allocations: 0.544 MB / 0.6517 GB, free: 8.863 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.6142, allocations: 7.938 kB / 0.6517 GB, free: 8.855 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003111/0.6145, allocations: 320.2 kB / 0.652 GB, free: 8.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.6145, allocations: 12.03 kB / 0.652 GB, free: 8.488 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.6146, allocations: 7.906 kB / 0.652 GB, free: 8.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.6148, allocations: 168 kB / 0.6521 GB, free: 8.277 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.6148, allocations: 2.125 kB / 0.6522 GB, free: 8.277 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.6148, allocations: 4.938 kB / 0.6522 GB, free: 8.273 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.451e-05/0.6149, allocations: 0 / 0.6522 GB, free: 8.273 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.706e-05/0.615, allocations: 34.27 kB / 0.6522 GB, free: 8.234 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.615, allocations: 0 / 0.6522 GB, free: 8.234 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.615, allocations: 4.625 kB / 0.6522 GB, free: 8.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.615, allocations: 4 kB / 0.6522 GB, free: 8.227 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.6152, allocations: 131.2 kB / 0.6523 GB, free: 8.062 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.912e-05/0.6153, allocations: 27.19 kB / 0.6523 GB, free: 8.027 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.6153, allocations: 9.859 kB / 0.6524 GB, free: 8.016 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006812/0.616, allocations: 0.6042 MB / 0.6529 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.616, allocations: 37.84 kB / 0.653 GB, free: 7.246 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 2.023e-06/0.616, allocations: 0.75 kB / 0.653 GB, free: 7.246 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001881/0.6162, allocations: 37.61 kB / 0.653 GB, free: 7.203 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.6162, allocations: 52.16 kB / 0.6531 GB, free: 7.141 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.4e-05/0.6163, allocations: 93.92 kB / 0.6532 GB, free: 7.043 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.6164, allocations: 25.7 kB / 0.6532 GB, free: 7.012 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.6164, allocations: 85.05 kB / 0.6533 GB, free: 6.926 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.6164, allocations: 11.12 kB / 0.6533 GB, free: 6.918 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.6164, allocations: 0.6562 kB / 0.6533 GB, free: 6.918 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.6166, allocations: 315.9 kB / 0.6536 GB, free: 6.602 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.6166, allocations: 3.938 kB / 0.6536 GB, free: 6.598 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.335e-06/0.6166, allocations: 4 kB / 0.6536 GB, free: 6.594 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.101e-05/0.6166, allocations: 1.562 kB / 0.6536 GB, free: 6.594 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6166, allocations: 0 / 0.6536 GB, free: 6.594 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.567e-05/0.6167, allocations: 42.53 kB / 0.6536 GB, free: 6.547 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.6167, allocations: 8 kB / 0.6536 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.6167, allocations: 0 / 0.6536 GB, free: 6.539 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.6168, allocations: 4.469 kB / 0.6536 GB, free: 6.535 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.486e-05/0.6168, allocations: 4.5 kB / 0.6536 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.6168, allocations: 0 / 0.6536 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.6169, allocations: 0.5 kB / 0.6536 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.6169, allocations: 0.6875 kB / 0.6536 GB, free: 6.531 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 (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.473e-05/0.6169, allocations: 104.1 kB / 0.6537 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.617, allocations: 9.5 kB / 0.6538 GB, free: 6.418 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.6171, allocations: 50.94 kB / 0.6538 GB, free: 6.363 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.6171, allocations: 0 / 0.6538 GB, free: 6.363 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6171, allocations: 0.6562 kB / 0.6538 GB, free: 6.363 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.6171, allocations: 0 / 0.6538 GB, free: 6.363 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.329e-05/0.6172, allocations: 131.5 kB / 0.6539 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.6172, allocations: 0 / 0.6539 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.6172, allocations: 7.938 kB / 0.6539 GB, free: 6.191 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6172, allocations: 0.5938 kB / 0.6539 GB, free: 6.191 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-06/0.6173, allocations: 0 / 0.6539 GB, free: 6.191 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6173, allocations: 5.375 kB / 0.6539 GB, free: 6.188 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6173, allocations: 3.984 kB / 0.6539 GB, free: 6.184 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.214e-05/0.6174, allocations: 62.2 kB / 0.654 GB, free: 6.105 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.6174, allocations: 88.39 kB / 0.6541 GB, free: 6.004 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.6175, allocations: 0 / 0.6541 GB, free: 6.004 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.6175, allocations: 3.984 kB / 0.6541 GB, free: 6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.6175, allocations: 0 / 0.6541 GB, free: 6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.6175, allocations: 4 kB / 0.6541 GB, free: 5.996 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.544e-05/0.6175, allocations: 75.81 kB / 0.6542 GB, free: 5.922 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.6178, allocations: 17.97 kB / 0.6542 GB, free: 5.906 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 (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.0001971/0.618, allocations: 120.8 kB / 0.6543 GB, free: 5.777 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.381e-05/0.618, allocations: 8 kB / 0.6543 GB, free: 5.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6181, allocations: 0 / 0.6543 GB, free: 5.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.227e-06/0.6181, allocations: 4 kB / 0.6543 GB, free: 5.766 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.6182, allocations: 4 kB / 0.6543 GB, free: 5.762 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002033/0.6185, allocations: 63.98 kB / 0.6544 GB, free: 5.676 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.6187, allocations: 0.6841 MB / 0.655 GB, free: 4.965 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6187, allocations: 0 / 0.655 GB, free: 4.965 MB / 474.7 MB Notification: Performance of Templates: time 0.002601/0.6213, allocations: 0.5831 MB / 0.6556 GB, free: 4.418 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)