Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) [: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.001298/0.001298, allocations: 190.4 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.448/0.448, allocations: 90.86 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.251/1.251, allocations: 221.4 MB / 342.8 MB, free: 5.469 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.0008639/0.0008638, allocations: 102.4 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1678/0.1687, allocations: 78.45 MB / 494 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.5829, allocations: 72.3 MB / 0.553 GB, free: 73.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.7019, allocations: 102 MB / 0.6526 GB, free: 8.082 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.7023, allocations: 83.94 kB / 0.6526 GB, free: 8 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.008154/0.7105, allocations: 2.075 MB / 0.6547 GB, free: 5.926 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.7105, allocations: 8 kB / 0.6547 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.7106, allocations: 6.031 kB / 0.6547 GB, free: 5.914 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.7107, allocations: 163.1 kB / 0.6548 GB, free: 5.715 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.7107, allocations: 0.8438 kB / 0.6548 GB, free: 5.715 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.7107, allocations: 0 / 0.6548 GB, free: 5.715 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.401e-05/0.7108, allocations: 12.72 kB / 0.6548 GB, free: 5.703 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.559e-05/0.7109, allocations: 28.89 kB / 0.6549 GB, free: 5.672 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.7109, allocations: 7.906 kB / 0.6549 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.7109, allocations: 0 / 0.6549 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7109, allocations: 0 / 0.6549 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.711, allocations: 130.2 kB / 0.655 GB, free: 5.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.228e-05/0.7111, allocations: 22.61 kB / 0.655 GB, free: 5.469 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.7111, allocations: 5.422 kB / 0.655 GB, free: 5.461 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004459/0.7116, allocations: 410.6 kB / 0.6554 GB, free: 4.969 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.7116, allocations: 36.03 kB / 0.6555 GB, free: 4.926 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.7116, allocations: 0 / 0.6555 GB, free: 4.926 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002082/0.7119, allocations: 42.19 kB / 0.6555 GB, free: 4.879 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.7119, allocations: 56.03 kB / 0.6555 GB, free: 4.812 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.712, allocations: 88.19 kB / 0.6556 GB, free: 4.723 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.712, allocations: 25.7 kB / 0.6557 GB, free: 4.691 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.712, allocations: 84.92 kB / 0.6557 GB, free: 4.605 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.7121, allocations: 7.906 kB / 0.6557 GB, free: 4.598 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.7121, allocations: 0.6562 kB / 0.6557 GB, free: 4.598 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.7122, allocations: 315.5 kB / 0.656 GB, free: 4.281 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.738e-06/0.7122, allocations: 0 / 0.656 GB, free: 4.281 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.7122, allocations: 4.656 kB / 0.6561 GB, free: 4.277 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.769e-05/0.7123, allocations: 4.625 kB / 0.6561 GB, free: 4.273 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7123, allocations: 0.5938 kB / 0.6561 GB, free: 4.273 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000113/0.7125, allocations: 48.16 kB / 0.6561 GB, free: 4.223 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.7125, allocations: 4 kB / 0.6561 GB, free: 4.219 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7125, allocations: 0 / 0.6561 GB, free: 4.219 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.7125, allocations: 4.5 kB / 0.6561 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.7126, allocations: 0.7188 kB / 0.6561 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.7126, allocations: 0 / 0.6561 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.7126, allocations: 12.16 kB / 0.6561 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.7126, allocations: 0 / 0.6561 GB, free: 4.203 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.739e-05/0.7127, allocations: 101 kB / 0.6562 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.7127, allocations: 0 / 0.6562 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.7129, allocations: 52.05 kB / 0.6563 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7129, allocations: 0 / 0.6563 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/0.7129, allocations: 7.891 kB / 0.6563 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.7129, allocations: 7.922 kB / 0.6563 GB, free: 4.027 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.397e-05/0.713, allocations: 130.2 kB / 0.6564 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.713, allocations: 4.031 kB / 0.6564 GB, free: 3.859 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.7131, allocations: 1.812 kB / 0.6564 GB, free: 3.859 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7131, allocations: 0 / 0.6564 GB, free: 3.859 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.7131, allocations: 4 kB / 0.6564 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7131, allocations: 0 / 0.6564 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.7131, allocations: 3.984 kB / 0.6564 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001247/0.7132, allocations: 61.05 kB / 0.6565 GB, free: 3.773 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002408/0.7135, allocations: 453.4 kB / 0.6569 GB, free: 3.309 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.246e-05/0.7135, allocations: 85.03 kB / 0.657 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.7135, allocations: 0 / 0.657 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.216e-05/0.7136, allocations: 5.781 kB / 0.657 GB, free: 3.203 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.7136, allocations: 0 / 0.657 GB, free: 3.203 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.7136, allocations: 0 / 0.657 GB, free: 3.203 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.406e-05/0.7136, allocations: 79.31 kB / 0.6571 GB, free: 3.125 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008455/0.7145, allocations: 31.91 kB / 0.6571 GB, free: 3.094 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.0002661/0.7148, allocations: 136.8 kB / 0.6572 GB, free: 2.949 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.427e-05/0.7148, allocations: 4 kB / 0.6572 GB, free: 2.945 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7148, allocations: 0 / 0.6572 GB, free: 2.945 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.028e-05/0.7149, allocations: 4 kB / 0.6572 GB, free: 2.941 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.715, allocations: 0 / 0.6572 GB, free: 2.941 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.7152, allocations: 64.08 kB / 0.6573 GB, free: 2.855 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/0.7155, allocations: 0.688 MB / 0.658 GB, free: 2.141 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/0.7155, allocations: 0 / 0.658 GB, free: 2.141 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)