Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.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.OneOpenDoor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor",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.8674/0.8674, allocations: 127.4 MB / 134.6 MB, free: 4.109 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.002994/0.002994, allocations: 173.3 kB / 164.4 MB, free: 6.902 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.435/2.435, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.001073/0.001073, allocations: 91.83 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3652/0.3663, allocations: 82.88 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.5925, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.424/2.016, allocations: 414.2 MB / 1.025 GB, free: 67.02 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/2.017, allocations: 87.08 kB / 1.026 GB, free: 66.98 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 1.168/3.185, allocations: 281.4 MB / 1.3 GB, free: 58.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.769e-05/3.185, allocations: 8 kB / 1.3 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/3.187, allocations: 193.8 kB / 1.301 GB, free: 58.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00534/3.192, allocations: 1.507 MB / 1.302 GB, free: 56.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/3.192, allocations: 48 kB / 1.302 GB, free: 56.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009304/3.193, allocations: 84 kB / 1.302 GB, free: 56.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006003/3.199, allocations: 2.274 MB / 1.304 GB, free: 54.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005053/3.205, allocations: 1.648 MB / 1.306 GB, free: 52.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.517e-05/3.205, allocations: 0 / 1.306 GB, free: 52.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003789/3.205, allocations: 3.938 kB / 1.306 GB, free: 52.78 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.86e-05/3.205, allocations: 39.94 kB / 1.306 GB, free: 52.74 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/3.217, allocations: 5 MB / 1.311 GB, free: 47.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/3.219, allocations: 1.169 MB / 1.312 GB, free: 46.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/3.221, allocations: 1.339 MB / 1.313 GB, free: 45.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/3.223, allocations: 1.853 MB / 1.315 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/3.223, allocations: 64.55 kB / 1.315 GB, free: 42.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=237): time 5.561e-06/3.223, allocations: 0 / 1.315 GB, free: 42.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=237): time 0.006534/3.23, allocations: 2.461 MB / 1.318 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/3.23, allocations: 77.41 kB / 1.318 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/3.232, allocations: 0.6604 MB / 1.318 GB, free: 39.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/3.232, allocations: 29.7 kB / 1.318 GB, free: 39.54 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/3.232, allocations: 358.1 kB / 1.319 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007893/3.233, allocations: 0.7618 MB / 1.319 GB, free: 38.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/3.233, allocations: 4 kB / 1.319 GB, free: 38.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002934/3.233, allocations: 390 kB / 1.32 GB, free: 38.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/3.235, allocations: 0.8514 MB / 1.321 GB, free: 37.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/3.236, allocations: 1.043 MB / 1.322 GB, free: 36.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/3.24, allocations: 1.325 MB / 1.323 GB, free: 34.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/3.24, allocations: 0 / 1.323 GB, free: 34.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.005996/3.246, allocations: 2.565 MB / 1.326 GB, free: 32.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/3.246, allocations: 4 kB / 1.326 GB, free: 32.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/3.246, allocations: 4 kB / 1.326 GB, free: 32.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.636e-05/3.246, allocations: 12 kB / 1.326 GB, free: 32.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/3.248, allocations: 435.7 kB / 1.326 GB, free: 31.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.026e-05/3.248, allocations: 23.92 kB / 1.326 GB, free: 31.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/3.25, allocations: 174.2 kB / 1.326 GB, free: 31.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/3.25, allocations: 71.98 kB / 1.326 GB, free: 31.46 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 261 * 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.0004131/3.251, allocations: 132.6 kB / 1.326 GB, free: 31.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005585/3.251, allocations: 142.2 kB / 1.326 GB, free: 31.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007304/3.259, allocations: 2.892 MB / 1.329 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/3.259, allocations: 24 kB / 1.329 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/3.259, allocations: 0 / 1.329 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005068/3.264, allocations: 2.529 MB / 1.332 GB, free: 25.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/3.274, allocations: 4.272 MB / 1.336 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/3.274, allocations: 7.938 kB / 1.336 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002135/3.276, allocations: 411.5 kB / 1.336 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005961/3.277, allocations: 85.64 kB / 1.336 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002785/3.277, allocations: 19.98 kB / 1.336 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000939/3.278, allocations: 1.136 MB / 1.338 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/3.278, allocations: 0 / 1.338 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008269/3.287, allocations: 4.239 MB / 1.342 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01016/3.297, allocations: 6.139 MB / 1.348 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/3.299, allocations: 498.6 kB / 1.348 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005646/3.299, allocations: 7.906 kB / 1.348 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/3.301, allocations: 79.8 kB / 1.348 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004014/3.301, allocations: 129.7 kB / 1.348 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002518/3.302, allocations: 67.98 kB / 1.348 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001195/3.303, allocations: 0.5148 MB / 1.349 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003909/3.307, allocations: 0.6826 MB / 1.35 GB, free: 7.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (dooOpe.mExcAB,dooOpe.mExcBA,volA.dynBal.U,volA.dynBal.m,volB.dynBal.U,volB.dynBal.m,dooOpeClo.mExcAB,dooOpeClo.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (237): * Single equations (assignments): 235 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/3.309, allocations: 0.5824 MB / 1.35 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004044/3.313, allocations: 2.197 MB / 1.352 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/3.313, allocations: 0 / 1.352 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/3.315, allocations: 1.229 MB / 1.354 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/3.319, allocations: 461.9 kB / 1.354 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4392/3.758, allocations: 3.184 MB / 1.357 GB, free: 186.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/3.76, allocations: 1.577 MB / 1.359 GB, free: 185.8 MB / 0.6355 GB Notification: Performance of SimCode: time 2.465e-06/3.76, allocations: 0 / 1.359 GB, free: 185.8 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_OneOpenDoor.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.OneOpenDoor.pipe 2>&1)