Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.WindPressureProfile,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.001196/0.001197, allocations: 188 kB / 7.802 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4477/0.4477, allocations: 90.86 MB / 99.08 MB, free: 14.91 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.259/1.259, allocations: 221.4 MB / 342.7 MB, free: 5.148 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.0009032/0.0009033, allocations: 93.64 kB / 415.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1654/0.1663, allocations: 78.46 MB / 494 MB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.5263, allocations: 72.3 MB / 0.553 GB, free: 44.85 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.6542, allocations: 103 MB / 0.6536 GB, free: 5.691 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.6545, allocations: 79.95 kB / 0.6537 GB, free: 5.613 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.01593/0.6705, allocations: 5.467 MB / 0.659 GB, free: 108 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6705, allocations: 8 kB / 0.659 GB, free: 100 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.059e-05/0.6706, allocations: 15.81 kB / 0.659 GB, free: 84 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.6712, allocations: 443 kB / 0.6594 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.6712, allocations: 0 / 0.6594 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.6712, allocations: 0 / 0.6594 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001131/0.6713, allocations: 55.94 kB / 0.6595 GB, free: 15.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.6714, allocations: 69.59 kB / 0.6596 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6715, allocations: 0 / 0.6596 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6715, allocations: 0 / 0.6596 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.6715, allocations: 4 kB / 0.6596 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.6719, allocations: 282.1 kB / 0.6598 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.6721, allocations: 102.4 kB / 0.6599 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.568e-05/0.6721, allocations: 32.98 kB / 0.66 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-05/0.6722, allocations: 8 kB / 0.66 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.6722, allocations: 42.53 kB / 0.66 GB, free: 14.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.6722, allocations: 4 kB / 0.66 GB, free: 14.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002581/0.6725, allocations: 109.4 kB / 0.6601 GB, free: 14.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.6725, allocations: 52.06 kB / 0.6602 GB, free: 14.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.673, allocations: 456.1 kB / 0.6606 GB, free: 14.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.6731, allocations: 25.7 kB / 0.6606 GB, free: 14.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.6731, allocations: 104.1 kB / 0.6607 GB, free: 14.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.6731, allocations: 11.75 kB / 0.6607 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.6732, allocations: 0 / 0.6607 GB, free: 14.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6733, allocations: 338.8 kB / 0.6611 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.6733, allocations: 24.73 kB / 0.6611 GB, free: 13.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.964e-05/0.6734, allocations: 46.55 kB / 0.6611 GB, free: 13.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.121e-05/0.6735, allocations: 31.97 kB / 0.6612 GB, free: 13.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6735, allocations: 0 / 0.6612 GB, free: 13.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001772/0.6737, allocations: 105.4 kB / 0.6613 GB, free: 13.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6737, allocations: 8 kB / 0.6613 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6737, allocations: 0 / 0.6613 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.6737, allocations: 8.016 kB / 0.6613 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.6738, allocations: 12.75 kB / 0.6613 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.6739, allocations: 3.906 kB / 0.6613 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.674, allocations: 11.98 kB / 0.6613 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.674, allocations: 8 kB / 0.6613 GB, free: 13.57 MB / 490.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 6.272e-05/0.6741, allocations: 105 kB / 0.6614 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.6741, allocations: 19.72 kB / 0.6614 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.6744, allocations: 143.1 kB / 0.6616 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6744, allocations: 7.984 kB / 0.6616 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6745, allocations: 1.125 kB / 0.6616 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.6745, allocations: 0 / 0.6616 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.6747, allocations: 210 kB / 0.6618 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.6747, allocations: 4 kB / 0.6618 GB, free: 13.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.517e-05/0.6748, allocations: 23.98 kB / 0.6618 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.6748, allocations: 0 / 0.6618 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.6748, allocations: 3.906 kB / 0.6618 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.6748, allocations: 0 / 0.6618 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6748, allocations: 0 / 0.6618 GB, free: 13.01 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001891/0.675, allocations: 132.9 kB / 0.6619 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000295/0.6753, allocations: 0.5168 MB / 0.6624 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.6754, allocations: 128.8 kB / 0.6626 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.6755, allocations: 0.75 kB / 0.6626 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.6756, allocations: 11.98 kB / 0.6626 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.6756, allocations: 15.98 kB / 0.6626 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.6757, allocations: 4 kB / 0.6626 GB, free: 12.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0003813/0.6761, allocations: 372.3 kB / 0.663 GB, free: 11.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009144/0.677, allocations: 91.94 kB / 0.663 GB, free: 11.7 MB / 490.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.0003205/0.6773, allocations: 171.1 kB / 0.6632 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.6774, allocations: 51.97 kB / 0.6633 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.6774, allocations: 1.031 kB / 0.6633 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.709e-05/0.6775, allocations: 27.94 kB / 0.6633 GB, free: 11.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.6777, allocations: 16.41 kB / 0.6633 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.6781, allocations: 207.4 kB / 0.6635 GB, free: 11.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/0.6787, allocations: 0.7819 MB / 0.6643 GB, free: 10.39 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6787, allocations: 0 / 0.6643 GB, free: 10.39 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)