Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",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.837/1.837, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001107/0.001107, allocations: 177.3 kB / 487 MB, free: 5.414 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.16/1.16, allocations: 221.3 MB / 0.7819 GB, free: 1.434 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.0008756/0.0008756, allocations: 104.9 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4304/0.4313, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.6261, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5367/1.163, allocations: 149.7 MB / 1.351 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/1.163, allocations: 78.88 kB / 1.352 GB, free: 15.91 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.007489/1.171, allocations: 2.077 MB / 1.354 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.171, allocations: 8.719 kB / 1.354 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.687e-05/1.171, allocations: 0.8438 kB / 1.354 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.037e-05/1.171, allocations: 168.6 kB / 1.354 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/1.171, allocations: 4 kB / 1.354 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/1.171, allocations: 4.953 kB / 1.354 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.943e-05/1.171, allocations: 11.03 kB / 1.354 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.708e-05/1.171, allocations: 28.67 kB / 1.354 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/1.171, allocations: 0 / 1.354 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/1.171, allocations: 2.672 kB / 1.354 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/1.171, allocations: 0 / 1.354 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/1.171, allocations: 130.6 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.614e-05/1.171, allocations: 27.42 kB / 1.354 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/1.171, allocations: 11.14 kB / 1.354 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/1.171, allocations: 405.1 kB / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/1.171, allocations: 33.56 kB / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.171, allocations: 0 / 1.354 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/1.172, allocations: 39.19 kB / 1.354 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.666e-05/1.172, allocations: 56.66 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.621e-05/1.172, allocations: 88.02 kB / 1.355 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-06/1.172, allocations: 25.7 kB / 1.355 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.052e-05/1.172, allocations: 80.86 kB / 1.355 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/1.172, allocations: 7.109 kB / 1.355 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/1.172, allocations: 0 / 1.355 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.974e-05/1.172, allocations: 316.1 kB / 1.355 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/1.172, allocations: 5.938 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.472e-06/1.172, allocations: 3.266 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.042e-05/1.172, allocations: 5.766 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/1.172, allocations: 3.938 kB / 1.355 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.249e-05/1.172, allocations: 42.22 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/1.172, allocations: 7.094 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/1.172, allocations: 1.203 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/1.172, allocations: 0.8125 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.302e-05/1.172, allocations: 7.781 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/1.172, allocations: 5 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.154e-05/1.172, allocations: 0 / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-06/1.172, allocations: 1.125 kB / 1.355 GB, free: 13.86 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.794e-05/1.172, allocations: 111.5 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/1.172, allocations: 1.094 kB / 1.355 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/1.172, allocations: 50.67 kB / 1.355 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.172, allocations: 0.7188 kB / 1.355 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.172, allocations: 0 / 1.355 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.172, allocations: 0.8125 kB / 1.355 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.542e-05/1.172, allocations: 139.2 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/1.172, allocations: 0 / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/1.172, allocations: 4.922 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/1.172, allocations: 0 / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/1.172, allocations: 1.031 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.172, allocations: 1.938 kB / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.172, allocations: 0 / 1.355 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.242e-05/1.172, allocations: 67.2 kB / 1.355 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001294/1.173, allocations: 451.9 kB / 1.356 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/1.173, allocations: 87.19 kB / 1.356 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/1.173, allocations: 1.219 kB / 1.356 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.147e-05/1.173, allocations: 0.75 kB / 1.356 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/1.173, allocations: 1.125 kB / 1.356 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/1.173, allocations: 0.5156 kB / 1.356 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.683e-05/1.173, allocations: 81.66 kB / 1.356 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007758/1.174, allocations: 27.17 kB / 1.356 GB, free: 12.84 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002073/1.174, allocations: 134 kB / 1.356 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.886e-05/1.174, allocations: 6.625 kB / 1.356 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.174, allocations: 0 / 1.356 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/1.174, allocations: 8.203 kB / 1.356 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.046e-05/1.174, allocations: 1.219 kB / 1.356 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001465/1.174, allocations: 61.41 kB / 1.356 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/1.174, allocations: 0.6852 MB / 1.357 GB, free: 27.97 MB / 0.823 GB Notification: Performance of SimCode: time 2.81e-07/1.174, allocations: 0 / 1.357 GB, free: 27.97 MB / 0.823 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat does not exist to compare? outputFormat=mat