Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7815/0.7815, allocations: 127.4 MB / 134.6 MB, free: 4.066 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.001427/0.001427, allocations: 185.2 kB / 164.4 MB, free: 6.871 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.972/1.972, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001067/0.001067, allocations: 82.11 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4136/0.4147, allocations: 82.89 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.6185, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.003/6.621, allocations: 2.15 GB / 2.771 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/6.621, allocations: 87.95 kB / 2.771 GB, free: 16.71 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 2.834/9.455, allocations: 0.6502 GB / 3.421 GB, free: 80.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/9.456, allocations: 12 kB / 3.421 GB, free: 80.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/9.459, allocations: 398.5 kB / 3.421 GB, free: 79.93 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/9.462, allocations: 0.8996 MB / 3.422 GB, free: 79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/9.462, allocations: 28 kB / 3.422 GB, free: 78.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003766/9.463, allocations: 59.94 kB / 3.422 GB, free: 78.92 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002122/9.465, allocations: 0.7693 MB / 3.423 GB, free: 78.15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/9.467, allocations: 0.9183 MB / 3.424 GB, free: 77.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/9.467, allocations: 5.516 kB / 3.424 GB, free: 77.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/9.467, allocations: 4 kB / 3.424 GB, free: 77.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/9.467, allocations: 37.91 kB / 3.424 GB, free: 77.14 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006951/9.474, allocations: 4.521 MB / 3.428 GB, free: 72.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/9.475, allocations: 0.6452 MB / 3.429 GB, free: 71.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/9.476, allocations: 432.2 kB / 3.429 GB, free: 71.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005595/9.477, allocations: 0.6767 MB / 3.43 GB, free: 70.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/9.477, allocations: 47.2 kB / 3.43 GB, free: 70.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=70): time 3.557e-06/9.477, allocations: 0 / 3.43 GB, free: 70.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=70): time 0.002285/9.479, allocations: 0.764 MB / 3.431 GB, free: 69.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/9.479, allocations: 60.06 kB / 3.431 GB, free: 69.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009289/9.48, allocations: 491.6 kB / 3.431 GB, free: 69.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/9.48, allocations: 29.69 kB / 3.431 GB, free: 69.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/9.48, allocations: 335.5 kB / 3.432 GB, free: 68.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000261/9.481, allocations: 236.4 kB / 3.432 GB, free: 68.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/9.481, allocations: 0 / 3.432 GB, free: 68.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001505/9.481, allocations: 386.8 kB / 3.432 GB, free: 68.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/9.481, allocations: 265.2 kB / 3.433 GB, free: 67.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/9.482, allocations: 366.8 kB / 3.433 GB, free: 67.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/9.482, allocations: 337.4 kB / 3.433 GB, free: 67.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/9.482, allocations: 4 kB / 3.433 GB, free: 67.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00155/9.484, allocations: 0.7758 MB / 3.434 GB, free: 66.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/9.484, allocations: 4 kB / 3.434 GB, free: 66.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/9.484, allocations: 4 kB / 3.434 GB, free: 66.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/9.484, allocations: 4 kB / 3.434 GB, free: 66.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/9.485, allocations: 155.1 kB / 3.434 GB, free: 66.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/9.485, allocations: 7.938 kB / 3.434 GB, free: 66.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/9.486, allocations: 90.81 kB / 3.434 GB, free: 66.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/9.487, allocations: 28 kB / 3.434 GB, free: 66.08 MB / 0.6355 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.0002712/9.487, allocations: 112.6 kB / 3.434 GB, free: 65.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004051/9.487, allocations: 86.97 kB / 3.434 GB, free: 65.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/9.489, allocations: 0.7958 MB / 3.435 GB, free: 65.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/9.49, allocations: 8 kB / 3.435 GB, free: 65.07 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/9.49, allocations: 0 / 3.435 GB, free: 65.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/9.491, allocations: 0.8157 MB / 3.436 GB, free: 64.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00444/9.495, allocations: 1.764 MB / 3.438 GB, free: 62.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/9.495, allocations: 0 / 3.438 GB, free: 62.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/9.496, allocations: 183.9 kB / 3.438 GB, free: 62.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/9.496, allocations: 0 / 3.438 GB, free: 62.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/9.497, allocations: 12 kB / 3.438 GB, free: 62.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/9.497, allocations: 3.906 kB / 3.438 GB, free: 62.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/9.497, allocations: 0 / 3.438 GB, free: 62.23 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001939/9.499, allocations: 1.291 MB / 3.439 GB, free: 60.92 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002776/9.501, allocations: 2.195 MB / 3.441 GB, free: 58.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007893/9.502, allocations: 255.9 kB / 3.442 GB, free: 58.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002868/9.502, allocations: 7.984 kB / 3.442 GB, free: 58.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/9.504, allocations: 63.78 kB / 3.442 GB, free: 58.37 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/9.504, allocations: 44.5 kB / 3.442 GB, free: 58.33 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/9.504, allocations: 27.98 kB / 3.442 GB, free: 58.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0007702/9.505, allocations: 383.2 kB / 3.442 GB, free: 57.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003415/9.508, allocations: 0.6124 MB / 3.443 GB, free: 57.32 MB / 0.6355 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.003474/9.512, allocations: 1.809 MB / 3.445 GB, free: 55.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001521/9.513, allocations: 0.6591 MB / 3.445 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/9.513, allocations: 4 kB / 3.445 GB, free: 55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005914/9.514, allocations: 366.3 kB / 3.446 GB, free: 54.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/9.518, allocations: 457.4 kB / 3.446 GB, free: 54.21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005568/9.523, allocations: 1.769 MB / 3.448 GB, free: 52.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/9.525, allocations: 1.228 MB / 3.449 GB, free: 51.19 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/9.525, allocations: 0 / 3.449 GB, free: 51.19 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)