Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.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.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",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.805/1.805, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009229/0.0009231, allocations: 185.2 kB / 487 MB, free: 5.312 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.149/1.149, allocations: 221.3 MB / 0.7819 GB, free: 1.488 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.0008811/0.0008814, allocations: 95.56 kB / 0.9213 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4374/0.4383, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.6343, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.139/3.773, allocations: 1.922 GB / 3.127 GB, free: 384.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001646/3.773, allocations: 91.86 kB / 3.128 GB, free: 384.7 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 2.264/6.038, allocations: 0.8163 GB / 3.944 GB, free: 219.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/6.038, allocations: 10.75 kB / 3.944 GB, free: 219.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002785/6.041, allocations: 463.9 kB / 3.944 GB, free: 219.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/6.042, allocations: 0.9133 MB / 3.945 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/6.042, allocations: 34.81 kB / 3.945 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/6.042, allocations: 60.56 kB / 3.945 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001315/6.043, allocations: 0.9404 MB / 3.946 GB, free: 219.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/6.045, allocations: 1.069 MB / 3.947 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/6.045, allocations: 4.719 kB / 3.947 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/6.045, allocations: 3.75 kB / 3.947 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/6.045, allocations: 45.92 kB / 3.947 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004452/6.049, allocations: 5.365 MB / 3.952 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/6.05, allocations: 0.4964 MB / 3.953 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/6.051, allocations: 0.61 MB / 3.954 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000404/6.051, allocations: 0.6799 MB / 3.954 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/6.051, allocations: 41.66 kB / 3.954 GB, free: 215.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=82): time 2.354e-06/6.051, allocations: 0 / 3.954 GB, free: 215.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=83): time 0.004447/6.056, allocations: 2.24 MB / 3.956 GB, free: 214.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/6.056, allocations: 63.31 kB / 3.956 GB, free: 214.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/6.056, allocations: 492.5 kB / 3.957 GB, free: 214.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/6.056, allocations: 25.7 kB / 3.957 GB, free: 214.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/6.056, allocations: 357.2 kB / 3.957 GB, free: 214.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/6.057, allocations: 279.9 kB / 3.958 GB, free: 214.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/6.057, allocations: 0 / 3.958 GB, free: 214.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/6.057, allocations: 390.5 kB / 3.958 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/6.057, allocations: 356.7 kB / 3.958 GB, free: 213.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/6.058, allocations: 473.1 kB / 3.959 GB, free: 213.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006968/6.058, allocations: 457.5 kB / 3.959 GB, free: 213.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/6.058, allocations: 2.953 kB / 3.959 GB, free: 213.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001428/6.06, allocations: 1.024 MB / 3.96 GB, free: 213.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/6.06, allocations: 8.375 kB / 3.96 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/6.06, allocations: 3.594 kB / 3.96 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/6.06, allocations: 49.95 kB / 3.96 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/6.061, allocations: 171.8 kB / 3.96 GB, free: 213.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003497/6.061, allocations: 0.6186 MB / 3.961 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/6.062, allocations: 92.69 kB / 3.961 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/6.062, allocations: 28.12 kB / 3.961 GB, free: 213.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001324/6.062, allocations: 119.1 kB / 3.961 GB, free: 213 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/6.062, allocations: 92.19 kB / 3.961 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001517/6.064, allocations: 0.9985 MB / 3.962 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/6.064, allocations: 7.406 kB / 3.962 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/6.064, allocations: 0 / 3.962 GB, free: 212.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00108/6.065, allocations: 0.9845 MB / 3.963 GB, free: 212.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/6.068, allocations: 2.106 MB / 3.965 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/6.068, allocations: 7.438 kB / 3.965 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009913/6.069, allocations: 202.5 kB / 3.966 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/6.069, allocations: 2.906 kB / 3.966 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/6.069, allocations: 14.66 kB / 3.966 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/6.069, allocations: 2.719 kB / 3.966 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/6.069, allocations: 3.906 kB / 3.966 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001577/6.07, allocations: 1.409 MB / 3.967 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002459/6.073, allocations: 2.456 MB / 3.969 GB, free: 211.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/6.073, allocations: 255.5 kB / 3.97 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/6.073, allocations: 2.938 kB / 3.97 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008485/6.074, allocations: 71.22 kB / 3.97 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/6.074, allocations: 40.02 kB / 3.97 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.217e-05/6.074, allocations: 33.06 kB / 3.97 GB, free: 211.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003582/6.075, allocations: 382.7 kB / 3.97 GB, free: 211.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002021/6.077, allocations: 0.6944 MB / 3.971 GB, free: 211.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.001956/6.079, allocations: 2.256 MB / 3.973 GB, free: 210.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001215/6.08, allocations: 0.8632 MB / 3.974 GB, free: 210.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/6.08, allocations: 0 / 3.974 GB, free: 210.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004911/6.081, allocations: 462.3 kB / 3.974 GB, free: 210.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/6.083, allocations: 492.9 kB / 3.975 GB, free: 210.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/6.086, allocations: 1.931 MB / 3.977 GB, free: 210.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009266/6.087, allocations: 1.27 MB / 3.978 GB, free: 209.6 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/6.087, allocations: 0 / 3.978 GB, free: 209.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat does not exist to compare? outputFormat=mat