Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_TrickleVent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.TrickleVent,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_TrickleVent",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/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 191 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.451/0.451, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 221.4 MB / 342.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000924/0.000924, allocations: 91.52 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1655/0.1665, allocations: 78.45 MB / 494 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.509, allocations: 72.3 MB / 0.553 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.494/4.003, allocations: 1.912 GB / 2.465 GB, free: 158.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/4.003, allocations: 89.52 kB / 2.465 GB, free: 158.2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 1.738/5.742, allocations: 0.5794 GB / 3.044 GB, free: 28.54 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/5.742, allocations: 12 kB / 3.044 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003598/5.745, allocations: 0.5784 MB / 3.045 GB, free: 27.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/5.749, allocations: 1.972 MB / 3.047 GB, free: 25.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/5.749, allocations: 56 kB / 3.047 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/5.749, allocations: 107.9 kB / 3.047 GB, free: 25.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002758/5.752, allocations: 1.845 MB / 3.049 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/5.754, allocations: 1.68 MB / 3.05 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/5.755, allocations: 7.922 kB / 3.05 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/5.755, allocations: 4 kB / 3.05 GB, free: 22.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.51e-05/5.755, allocations: 63.31 kB / 3.05 GB, free: 22.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/5.765, allocations: 7.632 MB / 3.058 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/5.767, allocations: 1.678 MB / 3.059 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008104/5.768, allocations: 0.6757 MB / 3.06 GB, free: 11.75 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000715/5.769, allocations: 0.8057 MB / 3.061 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/5.77, allocations: 0.8465 MB / 3.062 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=142): time 4.218e-06/5.77, allocations: 0 / 3.062 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of matching and sorting (n=142): time 0.003539/5.773, allocations: 1.518 MB / 3.063 GB, free: 8.383 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.428e-05/5.773, allocations: 278.3 kB / 3.063 GB, free: 8.047 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/5.776, allocations: 1.784 MB / 3.065 GB, free: 6.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/5.776, allocations: 29.7 kB / 3.065 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/5.776, allocations: 0.5879 MB / 3.066 GB, free: 5.613 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000322/5.777, allocations: 461 kB / 3.066 GB, free: 5.156 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/5.777, allocations: 0 / 3.066 GB, free: 5.156 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.554e-05/5.777, allocations: 353.9 kB / 3.067 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006699/5.777, allocations: 494.5 kB / 3.067 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007863/5.778, allocations: 0.6622 MB / 3.068 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/5.779, allocations: 0.5988 MB / 3.068 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/5.779, allocations: 0 / 3.068 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002854/5.782, allocations: 1.514 MB / 3.07 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/5.782, allocations: 0.6374 MB / 3.07 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/5.782, allocations: 0 / 3.07 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007921/5.783, allocations: 142.5 kB / 3.07 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/5.784, allocations: 319.5 kB / 3.071 GB, free: 336 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/5.788, allocations: 4.012 MB / 3.075 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/5.79, allocations: 147.1 kB / 3.075 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/5.791, allocations: 67.97 kB / 3.075 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/5.791, allocations: 4 kB / 3.075 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002998/5.794, allocations: 1.327 MB / 3.076 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/5.794, allocations: 4 kB / 3.076 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008079/5.794, allocations: 138.7 kB / 3.076 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/5.796, allocations: 303.6 kB / 3.077 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003822/5.8, allocations: 4.008 MB / 3.081 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/5.802, allocations: 150.9 kB / 3.081 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/5.802, allocations: 55.97 kB / 3.081 GB, free: 5.402 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004397/5.802, allocations: 134.8 kB / 3.081 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/5.803, allocations: 177.9 kB / 3.081 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004283/5.807, allocations: 1.882 MB / 3.083 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/5.807, allocations: 16 kB / 3.083 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/5.807, allocations: 3.938 kB / 3.083 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002742/5.81, allocations: 1.444 MB / 3.084 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2852/6.095, allocations: 3.669 MB / 3.088 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/6.095, allocations: 0 / 3.088 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/6.097, allocations: 325.2 kB / 3.088 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006781/6.097, allocations: 143.8 kB / 3.088 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/6.097, allocations: 22.39 kB / 3.088 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002944/6.1, allocations: 4.051 MB / 3.092 GB, free: 149.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/6.1, allocations: 0 / 3.092 GB, free: 149.3 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003965/6.104, allocations: 2.499 MB / 3.095 GB, free: 149.1 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005352/6.11, allocations: 3.859 MB / 3.099 GB, free: 148.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/6.111, allocations: 0.5822 MB / 3.099 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003239/6.111, allocations: 9.281 kB / 3.099 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/6.113, allocations: 121.3 kB / 3.099 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/6.113, allocations: 83.12 kB / 3.099 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/6.113, allocations: 73.03 kB / 3.099 GB, free: 148.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001651/6.115, allocations: 1.376 MB / 3.101 GB, free: 148.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005138/6.12, allocations: 1.691 MB / 3.102 GB, free: 148.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (room.dynBal.medium.Xi[1],room.dynBal.U,room.dynBal.m,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 144 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003291/6.123, allocations: 2.113 MB / 3.104 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003864/6.127, allocations: 2.608 MB / 3.107 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/6.127, allocations: 448 / 3.107 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/6.128, allocations: 1.022 MB / 3.108 GB, free: 146.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/6.132, allocations: 0.5666 MB / 3.109 GB, free: 146.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007715/6.139, allocations: 3.24 MB / 3.112 GB, free: 146.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/6.141, allocations: 1.818 MB / 3.113 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/6.141, allocations: 0 / 3.113 GB, free: 145.4 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_TrickleVent_fmu --startTime=0 --stopTime=2.592e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_TrickleVent.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.TrickleVent.pipe 2>&1)