Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow",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 9.1.1-maint.9.1.x/package.mo): time 1.83/1.83, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009858/0.0009858, allocations: 185.2 kB / 487 MB, free: 5.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 221.3 MB / 0.7819 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008479/0.0008479, allocations: 83.05 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4359/0.4368, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.6345, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.199/6.833, allocations: 4.424 GB / 5.63 GB, free: 120.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/6.833, allocations: 91.42 kB / 5.63 GB, free: 120.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 3.629/10.46, allocations: 1.403 GB / 7.033 GB, free: 4.047 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/10.46, allocations: 9 kB / 7.033 GB, free: 4.039 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/10.46, allocations: 428.2 kB / 7.034 GB, free: 3.617 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/10.47, allocations: 2.03 MB / 7.036 GB, free: 1.52 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/10.47, allocations: 44 kB / 7.036 GB, free: 1.477 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/10.47, allocations: 79.98 kB / 7.036 GB, free: 1.398 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001437/10.47, allocations: 0.8877 MB / 7.037 GB, free: 0.5078 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/10.47, allocations: 1.386 MB / 7.038 GB, free: 14.97 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/10.47, allocations: 11.94 kB / 7.038 GB, free: 14.96 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/10.47, allocations: 4 kB / 7.038 GB, free: 14.95 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.578e-05/10.47, allocations: 61.98 kB / 7.038 GB, free: 14.89 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008174/10.48, allocations: 8.874 MB / 7.047 GB, free: 5.52 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/10.48, allocations: 0.5791 MB / 7.047 GB, free: 4.934 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/10.48, allocations: 254 kB / 7.048 GB, free: 4.68 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/10.48, allocations: 0.782 MB / 7.048 GB, free: 3.734 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/10.48, allocations: 50.73 kB / 7.048 GB, free: 3.68 MB / 1.167 GB Notification: Performance of pre-optimization done (n=50): time 2.515e-06/10.48, allocations: 0 / 7.048 GB, free: 3.68 MB / 1.167 GB Notification: Performance of matching and sorting (n=50): time 0.00157/10.48, allocations: 0.6768 MB / 7.049 GB, free: 2.996 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/10.48, allocations: 55.84 kB / 7.049 GB, free: 2.926 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003859/10.49, allocations: 2.797 MB / 7.052 GB, free: 100 kB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/10.49, allocations: 29.7 kB / 7.052 GB, free: 64 kB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004137/10.49, allocations: 0.6409 MB / 7.052 GB, free: 15.41 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/10.49, allocations: 173.4 kB / 7.053 GB, free: 15.24 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/10.49, allocations: 0 / 7.053 GB, free: 15.24 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/10.49, allocations: 322 kB / 7.053 GB, free: 14.92 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/10.49, allocations: 188.9 kB / 7.053 GB, free: 14.73 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/10.49, allocations: 291.3 kB / 7.053 GB, free: 14.41 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/10.49, allocations: 231.8 kB / 7.054 GB, free: 14.18 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/10.49, allocations: 0 / 7.054 GB, free: 14.18 MB / 1.182 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001099/10.49, allocations: 0.6824 MB / 7.054 GB, free: 13.49 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/10.49, allocations: 5.25 kB / 7.054 GB, free: 13.49 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/10.49, allocations: 4 kB / 7.054 GB, free: 13.48 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/10.49, allocations: 4 kB / 7.054 GB, free: 13.48 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/10.49, allocations: 124.1 kB / 7.054 GB, free: 13.36 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/10.49, allocations: 4 kB / 7.054 GB, free: 13.36 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/10.49, allocations: 103.6 kB / 7.055 GB, free: 13.25 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/10.49, allocations: 32 kB / 7.055 GB, free: 13.22 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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 9.95e-05/10.49, allocations: 112.8 kB / 7.055 GB, free: 13.11 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/10.49, allocations: 193.6 kB / 7.055 GB, free: 12.91 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/10.49, allocations: 0.827 MB / 7.056 GB, free: 12.08 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/10.49, allocations: 8 kB / 7.056 GB, free: 12.07 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/10.49, allocations: 0 / 7.056 GB, free: 12.07 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/10.49, allocations: 7.922 kB / 7.056 GB, free: 12.07 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/10.5, allocations: 2.4 MB / 7.058 GB, free: 9.602 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/10.5, allocations: 1.094 kB / 7.058 GB, free: 9.602 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/10.5, allocations: 103.9 kB / 7.058 GB, free: 9.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/10.5, allocations: 8.188 kB / 7.058 GB, free: 9.492 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/10.5, allocations: 16 kB / 7.058 GB, free: 9.477 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/10.5, allocations: 7.922 kB / 7.058 GB, free: 9.469 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/10.5, allocations: 4 kB / 7.058 GB, free: 9.465 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001465/10.5, allocations: 1.236 MB / 7.059 GB, free: 8.141 MB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002467/10.5, allocations: 2.143 MB / 7.061 GB, free: 5.91 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009105/10.5, allocations: 0.5178 MB / 7.062 GB, free: 5.371 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/10.5, allocations: 8 kB / 7.062 GB, free: 5.363 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008987/10.5, allocations: 79.91 kB / 7.062 GB, free: 5.285 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/10.5, allocations: 44.3 kB / 7.062 GB, free: 5.242 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/10.5, allocations: 28 kB / 7.062 GB, free: 5.215 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.002396/10.51, allocations: 2.166 MB / 7.064 GB, free: 3.031 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.003094/10.51, allocations: 1.202 MB / 7.065 GB, free: 1.824 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 53 * 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.385/10.89, allocations: 3.83 MB / 7.069 GB, free: 306.1 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.0006233/10.89, allocations: 443.1 kB / 7.07 GB, free: 306.1 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/10.89, allocations: 0 / 7.07 GB, free: 306.1 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/10.9, allocations: 246 kB / 7.07 GB, free: 306.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/10.9, allocations: 389 kB / 7.07 GB, free: 306.1 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/10.9, allocations: 3.426 MB / 7.074 GB, free: 305.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/10.9, allocations: 1.896 MB / 7.075 GB, free: 304.6 MB / 1.182 GB Notification: Performance of SimCode: time 5.51e-07/10.9, allocations: 6.125 kB / 7.075 GB, free: 304.6 MB / 1.182 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Validation_OneWayFlow.fmu > Buildings_9_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)