Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.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.Examples.OneRoom,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneRoom",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.001325/0.001325, allocations: 190.5 kB / 7.807 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4574/0.4574, allocations: 90.85 MB / 99.07 MB, free: 14.99 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.273/1.273, allocations: 221.4 MB / 342.7 MB, free: 5.297 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.0009612/0.0009613, allocations: 94.09 kB / 415.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1785/0.1795, allocations: 78.44 MB / 494 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.58, allocations: 72.3 MB / 0.553 GB, free: 44.81 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.466/4.046, allocations: 1.875 GB / 2.428 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/4.046, allocations: 93.69 kB / 2.429 GB, free: 171.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 2.281/6.327, allocations: 0.8162 GB / 3.245 GB, free: 27.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/6.327, allocations: 14.3 kB / 3.245 GB, free: 27.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003061/6.33, allocations: 461.9 kB / 3.245 GB, free: 27.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/6.332, allocations: 0.9142 MB / 3.246 GB, free: 26.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/6.332, allocations: 32 kB / 3.246 GB, free: 26.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/6.332, allocations: 56 kB / 3.246 GB, free: 26.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001477/6.334, allocations: 0.945 MB / 3.247 GB, free: 25.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/6.335, allocations: 1.071 MB / 3.248 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/6.335, allocations: 4 kB / 3.248 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/6.335, allocations: 0.7656 kB / 3.248 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/6.335, allocations: 49.98 kB / 3.248 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006203/6.341, allocations: 5.338 MB / 3.253 GB, free: 18.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/6.342, allocations: 0.5146 MB / 3.254 GB, free: 17.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/6.343, allocations: 0.5961 MB / 3.254 GB, free: 17.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005562/6.344, allocations: 0.6772 MB / 3.255 GB, free: 16.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/6.344, allocations: 55.2 kB / 3.255 GB, free: 16.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=82): time 3.626e-06/6.344, allocations: 0 / 3.255 GB, free: 16.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83): time 0.005102/6.349, allocations: 2.244 MB / 3.257 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/6.349, allocations: 60.19 kB / 3.257 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/6.349, allocations: 491.7 kB / 3.258 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/6.349, allocations: 25.7 kB / 3.258 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/6.35, allocations: 351.9 kB / 3.258 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/6.35, allocations: 283.8 kB / 3.259 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/6.35, allocations: 0 / 3.259 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001067/6.35, allocations: 394.7 kB / 3.259 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/6.35, allocations: 361.5 kB / 3.259 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/6.351, allocations: 470 kB / 3.26 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/6.352, allocations: 452.3 kB / 3.26 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/6.352, allocations: 0 / 3.26 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001558/6.353, allocations: 1.029 MB / 3.261 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/6.353, allocations: 6.656 kB / 3.261 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/6.353, allocations: 3.906 kB / 3.261 GB, free: 10.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/6.353, allocations: 56.83 kB / 3.261 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/6.354, allocations: 164 kB / 3.261 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004104/6.355, allocations: 0.6225 MB / 3.262 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/6.356, allocations: 91.72 kB / 3.262 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.375e-05/6.356, allocations: 32.05 kB / 3.262 GB, free: 9.082 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001698/6.356, allocations: 116.9 kB / 3.262 GB, free: 8.961 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/6.356, allocations: 86.97 kB / 3.262 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001697/6.358, allocations: 0.9997 MB / 3.263 GB, free: 7.855 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.355e-06/6.358, allocations: 8 kB / 3.263 GB, free: 7.848 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/6.358, allocations: 4 kB / 3.263 GB, free: 7.844 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001135/6.359, allocations: 0.9715 MB / 3.264 GB, free: 6.824 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/6.362, allocations: 2.121 MB / 3.266 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/6.362, allocations: 0 / 3.266 GB, free: 4.656 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/6.363, allocations: 195.8 kB / 3.266 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/6.363, allocations: 4 kB / 3.266 GB, free: 4.461 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.458e-05/6.363, allocations: 19.92 kB / 3.267 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/6.363, allocations: 4 kB / 3.267 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/6.364, allocations: 0 / 3.267 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001666/6.365, allocations: 1.411 MB / 3.268 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002867/6.368, allocations: 2.452 MB / 3.27 GB, free: 0.5391 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/6.369, allocations: 260 kB / 3.271 GB, free: 272 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/6.369, allocations: 7.984 kB / 3.271 GB, free: 264 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009464/6.37, allocations: 67.78 kB / 3.271 GB, free: 196 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/6.37, allocations: 40.7 kB / 3.271 GB, free: 156 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.289e-05/6.37, allocations: 36.05 kB / 3.271 GB, free: 120 kB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005195/6.371, allocations: 383.2 kB / 3.271 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002627/6.373, allocations: 0.6835 MB / 3.272 GB, free: 15.06 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.003054/6.376, allocations: 2.25 MB / 3.274 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001518/6.378, allocations: 0.8602 MB / 3.275 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/6.378, allocations: 4.5 kB / 3.275 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006468/6.378, allocations: 470.7 kB / 3.275 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/6.381, allocations: 490.7 kB / 3.276 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/6.385, allocations: 1.934 MB / 3.278 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/6.387, allocations: 1.279 MB / 3.279 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of SimCode: time 3.447e-06/6.387, allocations: 0 / 3.279 GB, free: 7.637 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneRoom.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)