Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",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/BuildingSystems 2.0.0-master/package.mo): time 0.7561/0.7561, allocations: 141.8 MB / 149.1 MB, free: 3.641 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 183.4 kB / 181.9 MB, free: 15.43 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.4 MB / 436 MB, free: 8.559 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000949/0.0009491, allocations: 95.67 kB / 0.507 GB, free: 24.33 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001843/0.001843, allocations: 281.8 kB / 0.5884 GB, free: 11.63 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2004/0.2023, allocations: 89.64 MB / 0.676 GB, free: 1.926 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.6287, allocations: 82.77 MB / 0.7568 GB, free: 112.2 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.036/4.664, allocations: 1.879 GB / 2.636 GB, free: 195.9 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/4.665, allocations: 90.84 kB / 2.636 GB, free: 195.8 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 2.209/6.874, allocations: 0.6648 GB / 3.301 GB, free: 55.98 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/6.874, allocations: 9 kB / 3.301 GB, free: 55.97 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/6.877, allocations: 394.2 kB / 3.301 GB, free: 55.59 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/6.88, allocations: 0.8518 MB / 3.302 GB, free: 54.69 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/6.88, allocations: 28 kB / 3.302 GB, free: 54.66 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/6.88, allocations: 51.94 kB / 3.302 GB, free: 54.61 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001707/6.882, allocations: 0.7732 MB / 3.303 GB, free: 53.84 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/6.883, allocations: 0.9186 MB / 3.304 GB, free: 52.88 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/6.883, allocations: 3.938 kB / 3.304 GB, free: 52.88 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/6.884, allocations: 4 kB / 3.304 GB, free: 52.87 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.605e-05/6.884, allocations: 33.98 kB / 3.304 GB, free: 52.84 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006136/6.89, allocations: 4.507 MB / 3.308 GB, free: 48 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/6.891, allocations: 0.6307 MB / 3.309 GB, free: 47.36 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/6.892, allocations: 452.5 kB / 3.309 GB, free: 46.92 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005734/6.892, allocations: 0.6772 MB / 3.31 GB, free: 46.09 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/6.892, allocations: 43.22 kB / 3.31 GB, free: 46.04 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=70): time 4.098e-06/6.892, allocations: 0 / 3.31 GB, free: 46.04 MB / 0.6982 GB Notification: Performance of matching and sorting (n=70): time 0.002179/6.895, allocations: 0.7804 MB / 3.311 GB, free: 45.25 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/6.895, allocations: 60.06 kB / 3.311 GB, free: 45.18 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007936/6.895, allocations: 487.6 kB / 3.311 GB, free: 44.7 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/6.896, allocations: 25.7 kB / 3.311 GB, free: 44.67 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/6.896, allocations: 324 kB / 3.311 GB, free: 44.34 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/6.896, allocations: 240.4 kB / 3.312 GB, free: 44.11 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/6.896, allocations: 4 kB / 3.312 GB, free: 44.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001101/6.896, allocations: 382.8 kB / 3.312 GB, free: 43.72 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/6.896, allocations: 273.2 kB / 3.312 GB, free: 43.45 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/6.897, allocations: 367.3 kB / 3.313 GB, free: 43.06 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000616/6.898, allocations: 347 kB / 3.313 GB, free: 42.72 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/6.898, allocations: 4 kB / 3.313 GB, free: 42.72 MB / 0.6982 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001307/6.899, allocations: 0.784 MB / 3.314 GB, free: 41.93 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/6.899, allocations: 6.031 kB / 3.314 GB, free: 41.92 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/6.899, allocations: 4 kB / 3.314 GB, free: 41.92 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/6.899, allocations: 4 kB / 3.314 GB, free: 41.91 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/6.9, allocations: 155.9 kB / 3.314 GB, free: 41.76 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/6.9, allocations: 7.984 kB / 3.314 GB, free: 41.75 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/6.901, allocations: 79.42 kB / 3.314 GB, free: 41.68 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/6.901, allocations: 31.98 kB / 3.314 GB, free: 41.64 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0001514/6.901, allocations: 112.9 kB / 3.314 GB, free: 41.53 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/6.901, allocations: 82.97 kB / 3.314 GB, free: 41.45 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/6.903, allocations: 0.8046 MB / 3.315 GB, free: 40.62 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/6.903, allocations: 12 kB / 3.315 GB, free: 40.61 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/6.903, allocations: 0 / 3.315 GB, free: 40.61 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/6.904, allocations: 0.8244 MB / 3.316 GB, free: 39.74 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/6.907, allocations: 1.776 MB / 3.317 GB, free: 37.92 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/6.907, allocations: 0 / 3.317 GB, free: 37.92 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/6.908, allocations: 179.8 kB / 3.318 GB, free: 37.74 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/6.908, allocations: 0 / 3.318 GB, free: 37.74 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.404e-05/6.908, allocations: 19.89 kB / 3.318 GB, free: 37.72 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/6.908, allocations: 0 / 3.318 GB, free: 37.72 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/6.908, allocations: 0 / 3.318 GB, free: 37.72 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001897/6.91, allocations: 1.309 MB / 3.319 GB, free: 36.4 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00284/6.913, allocations: 2.232 MB / 3.321 GB, free: 34.15 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006189/6.913, allocations: 251.9 kB / 3.321 GB, free: 33.88 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/6.914, allocations: 0 / 3.321 GB, free: 33.88 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009879/6.915, allocations: 63.84 kB / 3.321 GB, free: 33.82 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/6.915, allocations: 36.59 kB / 3.321 GB, free: 33.79 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.518e-05/6.915, allocations: 27.98 kB / 3.322 GB, free: 33.76 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0006062/6.915, allocations: 371.2 kB / 3.322 GB, free: 33.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002531/6.918, allocations: 0.6162 MB / 3.322 GB, free: 32.79 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.002211/6.92, allocations: 1.783 MB / 3.324 GB, free: 30.93 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001126/6.921, allocations: 0.6786 MB / 3.325 GB, free: 30.25 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/6.921, allocations: 0 / 3.325 GB, free: 30.25 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004742/6.922, allocations: 374.3 kB / 3.325 GB, free: 29.89 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/6.924, allocations: 456.2 kB / 3.326 GB, free: 29.45 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/6.928, allocations: 1.775 MB / 3.327 GB, free: 27.64 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/6.929, allocations: 1.213 MB / 3.329 GB, free: 26.39 MB / 0.6982 GB Notification: Performance of SimCode: time 8.61e-07/6.929, allocations: 0 / 3.329 GB, free: 26.39 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)