Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.313/1.313, allocations: 285.5 MB / 292.8 MB, free: 10.47 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 187.5 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008359/0.0008356, allocations: 96.09 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.182/0.1829, allocations: 121.4 MB / 0.8511 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.6047, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.668/3.273, allocations: 2.084 GB / 3.047 GB, free: 41.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/3.273, allocations: 81.59 kB / 3.047 GB, free: 41.81 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 2.678/5.951, allocations: 1.062 GB / 4.109 GB, free: 60.83 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/5.951, allocations: 8 kB / 4.109 GB, free: 60.82 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/5.954, allocations: 0.5479 MB / 4.11 GB, free: 60.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/5.956, allocations: 1.288 MB / 4.111 GB, free: 58.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/5.956, allocations: 44 kB / 4.111 GB, free: 58.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/5.957, allocations: 91.91 kB / 4.111 GB, free: 58.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001942/5.959, allocations: 1.251 MB / 4.112 GB, free: 57.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/5.961, allocations: 1.464 MB / 4.114 GB, free: 56 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/5.961, allocations: 7.938 kB / 4.114 GB, free: 55.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/5.961, allocations: 4 kB / 4.114 GB, free: 55.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/5.961, allocations: 58.58 kB / 4.114 GB, free: 55.93 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006833/5.968, allocations: 7.342 MB / 4.121 GB, free: 48.17 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/5.969, allocations: 1.04 MB / 4.122 GB, free: 47.11 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006448/5.97, allocations: 0.6058 MB / 4.123 GB, free: 46.51 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005538/5.97, allocations: 0.8633 MB / 4.124 GB, free: 45.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007645/5.971, allocations: 0.6435 MB / 4.124 GB, free: 44.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=110): time 3.145e-06/5.971, allocations: 4 kB / 4.124 GB, free: 44.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=110): time 0.00263/5.974, allocations: 1.248 MB / 4.125 GB, free: 43.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/5.974, allocations: 86.11 kB / 4.126 GB, free: 43.45 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008161/5.975, allocations: 0.8224 MB / 4.126 GB, free: 42.61 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.369e-05/5.975, allocations: 25.7 kB / 4.126 GB, free: 42.58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/5.975, allocations: 496.5 kB / 4.127 GB, free: 42.09 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/5.975, allocations: 366.5 kB / 4.127 GB, free: 41.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/5.975, allocations: 0 / 4.127 GB, free: 41.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.835e-05/5.975, allocations: 349.8 kB / 4.128 GB, free: 41.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/5.976, allocations: 433.9 kB / 4.128 GB, free: 40.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/5.976, allocations: 0.5957 MB / 4.128 GB, free: 40.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008385/5.977, allocations: 0.5299 MB / 4.129 GB, free: 39.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/5.977, allocations: 0 / 4.129 GB, free: 39.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001709/5.979, allocations: 1.236 MB / 4.13 GB, free: 38.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/5.979, allocations: 0.9801 MB / 4.131 GB, free: 37.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/5.979, allocations: 4 kB / 4.131 GB, free: 37.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/5.979, allocations: 4 kB / 4.131 GB, free: 37.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009887/5.98, allocations: 231.7 kB / 4.131 GB, free: 37.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/5.98, allocations: 11.94 kB / 4.131 GB, free: 37.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/5.981, allocations: 139.1 kB / 4.132 GB, free: 37.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/5.981, allocations: 43.98 kB / 4.132 GB, free: 37.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.249e-06/5.982, allocations: 4 kB / 4.132 GB, free: 37.05 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001507/5.983, allocations: 1.064 MB / 4.133 GB, free: 35.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/5.983, allocations: 4 kB / 4.133 GB, free: 35.98 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/5.983, allocations: 11.94 kB / 4.133 GB, free: 35.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009332/5.984, allocations: 224 kB / 4.133 GB, free: 35.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/5.984, allocations: 12 kB / 4.133 GB, free: 35.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/5.985, allocations: 127.1 kB / 4.133 GB, free: 35.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.828e-05/5.985, allocations: 43.98 kB / 4.133 GB, free: 35.57 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (126): * Single equations (assignments): 126 * 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 0.0001809/5.985, allocations: 128.2 kB / 4.133 GB, free: 35.44 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/5.985, allocations: 138.4 kB / 4.133 GB, free: 35.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/5.987, allocations: 1.259 MB / 4.135 GB, free: 34.03 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/5.987, allocations: 12 kB / 4.135 GB, free: 34.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/5.987, allocations: 0 / 4.135 GB, free: 34.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001361/5.989, allocations: 1.036 MB / 4.136 GB, free: 32.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003894/5.993, allocations: 3.028 MB / 4.139 GB, free: 29.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/5.993, allocations: 3.938 kB / 4.139 GB, free: 29.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/5.994, allocations: 252 kB / 4.139 GB, free: 29.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/5.994, allocations: 8 kB / 4.139 GB, free: 29.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/5.994, allocations: 23.97 kB / 4.139 GB, free: 29.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/5.994, allocations: 11.94 kB / 4.139 GB, free: 29.56 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/5.994, allocations: 0 / 4.139 GB, free: 29.56 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002311/5.996, allocations: 2.19 MB / 4.141 GB, free: 27.28 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003479/6, allocations: 3.444 MB / 4.144 GB, free: 23.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000513/6, allocations: 367 kB / 4.145 GB, free: 23.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/6.001, allocations: 12 kB / 4.145 GB, free: 23.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/6.002, allocations: 99.73 kB / 4.145 GB, free: 23.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/6.002, allocations: 56.92 kB / 4.145 GB, free: 23.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8e-05/6.002, allocations: 51.88 kB / 4.145 GB, free: 23.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000655/6.003, allocations: 0.638 MB / 4.145 GB, free: 22.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00397/6.007, allocations: 1.704 MB / 4.147 GB, free: 20.79 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002859/6.009, allocations: 3.099 MB / 4.15 GB, free: 17.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001887/6.011, allocations: 1.699 MB / 4.152 GB, free: 15.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/6.011, allocations: 384 / 4.152 GB, free: 15.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005927/6.012, allocations: 0.5737 MB / 4.152 GB, free: 15.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/6.014, allocations: 0.6552 MB / 4.153 GB, free: 14.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/6.018, allocations: 2.774 MB / 4.156 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/6.019, allocations: 1.564 MB / 4.157 GB, free: 10.11 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/6.019, allocations: 0 / 4.157 GB, free: 10.11 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)