Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume",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/BuildSysPro 3.5.0/package.mo): time 0.7754/0.7754, allocations: 127.4 MB / 134.6 MB, free: 4.098 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 185.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.1 MB / 399.1 MB, free: 6.176 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009771/0.0009768, allocations: 88.19 kB / 476.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3612/0.3622, allocations: 82.89 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.552, allocations: 76.74 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.312/1.864, allocations: 413.6 MB / 1.025 GB, free: 67.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/1.865, allocations: 93.38 kB / 1.025 GB, free: 67.05 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 1.22/3.085, allocations: 332.2 MB / 1.349 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/3.085, allocations: 8 kB / 1.349 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007518/3.086, allocations: 138.4 kB / 1.35 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/3.089, allocations: 1.056 MB / 1.351 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.562e-05/3.089, allocations: 27.98 kB / 1.351 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/3.089, allocations: 52 kB / 1.351 GB, free: 7.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00151/3.09, allocations: 0.5233 MB / 1.351 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/3.092, allocations: 0.7172 MB / 1.352 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.806e-05/3.093, allocations: 0 / 1.352 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/3.093, allocations: 0 / 1.352 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/3.093, allocations: 23.91 kB / 1.352 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007742/3.1, allocations: 4.053 MB / 1.356 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/3.101, allocations: 359.5 kB / 1.356 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/3.102, allocations: 238.2 kB / 1.356 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/3.103, allocations: 1.001 MB / 1.357 GB, free: 24 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4717/3.575, allocations: 268.3 kB / 1.358 GB, free: 92.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=59): time 6.773e-06/3.575, allocations: 3.156 kB / 1.358 GB, free: 92.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59): time 0.001986/3.577, allocations: 0.5933 MB / 1.358 GB, free: 92.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/3.577, allocations: 84.14 kB / 1.358 GB, free: 92.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/3.578, allocations: 0.6643 MB / 1.359 GB, free: 92.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.06e-05/3.578, allocations: 29.36 kB / 1.359 GB, free: 92.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/3.578, allocations: 347.8 kB / 1.359 GB, free: 92.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/3.578, allocations: 200.8 kB / 1.359 GB, free: 92.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/3.578, allocations: 0 / 1.359 GB, free: 92.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.748e-05/3.579, allocations: 324.3 kB / 1.36 GB, free: 92.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/3.579, allocations: 174.8 kB / 1.36 GB, free: 92.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/3.579, allocations: 308.6 kB / 1.36 GB, free: 91.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008866/3.58, allocations: 255 kB / 1.36 GB, free: 91.95 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/3.58, allocations: 2.688 kB / 1.36 GB, free: 91.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001516/3.582, allocations: 0.6669 MB / 1.361 GB, free: 91.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002235/3.582, allocations: 0.8756 MB / 1.362 GB, free: 90.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/3.582, allocations: 0 / 1.362 GB, free: 90.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/3.582, allocations: 91.67 kB / 1.362 GB, free: 90.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/3.583, allocations: 123.7 kB / 1.362 GB, free: 90.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006987/3.583, allocations: 0.6831 MB / 1.363 GB, free: 90.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009354/3.584, allocations: 81.25 kB / 1.363 GB, free: 90.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/3.585, allocations: 25.38 kB / 1.363 GB, free: 90.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/3.585, allocations: 3.844 kB / 1.363 GB, free: 90.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00137/3.586, allocations: 0.5393 MB / 1.363 GB, free: 90.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/3.586, allocations: 7.562 kB / 1.364 GB, free: 90.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/3.586, allocations: 88.19 kB / 1.364 GB, free: 90.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/3.587, allocations: 117.3 kB / 1.364 GB, free: 90.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005983/3.587, allocations: 0.6889 MB / 1.364 GB, free: 89.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008468/3.588, allocations: 67.27 kB / 1.364 GB, free: 89.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/3.588, allocations: 29.98 kB / 1.364 GB, free: 89.83 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002294/3.588, allocations: 116.1 kB / 1.365 GB, free: 89.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/3.589, allocations: 89.91 kB / 1.365 GB, free: 89.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/3.591, allocations: 0.8249 MB / 1.365 GB, free: 89.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/3.591, allocations: 7.703 kB / 1.365 GB, free: 89.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/3.591, allocations: 5.438 kB / 1.365 GB, free: 89.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001131/3.592, allocations: 0.7425 MB / 1.366 GB, free: 89.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002692/3.594, allocations: 1.49 MB / 1.368 GB, free: 88.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/3.594, allocations: 3.172 kB / 1.368 GB, free: 88.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/3.595, allocations: 107.5 kB / 1.368 GB, free: 88.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/3.595, allocations: 134.7 kB / 1.368 GB, free: 88.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/3.595, allocations: 13.97 kB / 1.368 GB, free: 88.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009049/3.596, allocations: 1.273 MB / 1.369 GB, free: 87.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/3.596, allocations: 3.156 kB / 1.369 GB, free: 87.93 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001898/3.598, allocations: 1.116 MB / 1.37 GB, free: 87.67 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002414/3.601, allocations: 1.847 MB / 1.372 GB, free: 87.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005655/3.601, allocations: 263.6 kB / 1.372 GB, free: 86.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/3.601, allocations: 7.812 kB / 1.372 GB, free: 86.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/3.602, allocations: 47.33 kB / 1.372 GB, free: 86.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/3.602, allocations: 41.11 kB / 1.372 GB, free: 86.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/3.602, allocations: 24.88 kB / 1.372 GB, free: 86.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0007481/3.603, allocations: 0.5128 MB / 1.373 GB, free: 86.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003608/3.607, allocations: 0.7877 MB / 1.374 GB, free: 86.75 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002104/3.609, allocations: 0.8415 MB / 1.375 GB, free: 86.63 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002009/3.611, allocations: 0.8381 MB / 1.375 GB, free: 86.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/3.611, allocations: 7.281 kB / 1.375 GB, free: 86.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007473/3.612, allocations: 317 kB / 1.376 GB, free: 86.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/3.614, allocations: 338.7 kB / 1.376 GB, free: 86.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/3.618, allocations: 1.556 MB / 1.377 GB, free: 86.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/3.618, allocations: 1.19 MB / 1.379 GB, free: 85.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.683e-06/3.618, allocations: 0 / 1.379 GB, free: 85.48 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)