Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.425/1.425, allocations: 289.8 MB / 297.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 177.2 kB / 366.3 MB, free: 2.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.1 MB / 0.6256 GB, free: 5.852 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009357/0.000936, allocations: 90.42 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2199/0.2209, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.7152, allocations: 116.3 MB / 0.9727 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.8622, allocations: 139.3 MB / 1.109 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.8625, allocations: 79.94 kB / 1.109 GB, free: 9.105 MB / 0.7136 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.007212/0.8697, allocations: 2.006 MB / 1.111 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.8698, allocations: 12 kB / 1.111 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.8698, allocations: 4 kB / 1.111 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.8699, allocations: 167 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.8699, allocations: 3.938 kB / 1.111 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.8699, allocations: 0 / 1.111 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.961e-05/0.87, allocations: 7.984 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.227e-05/0.8701, allocations: 35.48 kB / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.8701, allocations: 0 / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.8701, allocations: 0 / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.8701, allocations: 0 / 1.111 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.8702, allocations: 130.2 kB / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.157e-05/0.8703, allocations: 30.59 kB / 1.111 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.8703, allocations: 4.859 kB / 1.111 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/0.8707, allocations: 405.6 kB / 1.112 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.8707, allocations: 42.5 kB / 1.112 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.8707, allocations: 0 / 1.112 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001673/0.8709, allocations: 33.7 kB / 1.112 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.8709, allocations: 55.39 kB / 1.112 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.376e-05/0.871, allocations: 89 kB / 1.112 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.871, allocations: 25.7 kB / 1.112 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.188e-05/0.871, allocations: 84.14 kB / 1.112 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.8711, allocations: 3.906 kB / 1.112 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-06/0.8711, allocations: 4.156 kB / 1.112 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.8712, allocations: 310.8 kB / 1.112 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.8712, allocations: 0 / 1.112 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.8712, allocations: 8.938 kB / 1.112 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.209e-05/0.8712, allocations: 10.58 kB / 1.112 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.8713, allocations: 3.938 kB / 1.112 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.7e-05/0.8714, allocations: 41.55 kB / 1.112 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.8714, allocations: 4 kB / 1.112 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.8714, allocations: 4.094 kB / 1.112 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.8714, allocations: 4 kB / 1.112 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.8714, allocations: 3.984 kB / 1.112 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.8715, allocations: 4 kB / 1.112 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.273e-05/0.8715, allocations: 0 / 1.112 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.8715, allocations: 0.9375 kB / 1.112 GB, free: 5.324 MB / 0.7136 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 5.091e-05/0.8715, allocations: 104.9 kB / 1.112 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.8716, allocations: 0 / 1.112 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.8717, allocations: 49 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.8717, allocations: 7.969 kB / 1.112 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8717, allocations: 0 / 1.112 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8717, allocations: 0 / 1.112 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.164e-05/0.8718, allocations: 134.1 kB / 1.112 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8718, allocations: 0 / 1.112 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.8718, allocations: 4 kB / 1.112 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8718, allocations: 0.8438 kB / 1.112 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.8718, allocations: 0 / 1.112 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.8719, allocations: 4 kB / 1.112 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8719, allocations: 0 / 1.112 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001045/0.872, allocations: 73.03 kB / 1.113 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001874/0.8722, allocations: 441.5 kB / 1.113 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.8722, allocations: 81.02 kB / 1.113 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.8722, allocations: 4 kB / 1.113 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.8722, allocations: 4.062 kB / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-06/0.8723, allocations: 0.8438 kB / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.8723, allocations: 7.984 kB / 1.113 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.788e-05/0.8723, allocations: 79.28 kB / 1.113 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007641/0.8731, allocations: 23.94 kB / 1.113 GB, free: 4.215 MB / 0.7136 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.0002224/0.8733, allocations: 135.1 kB / 1.113 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.895e-05/0.8734, allocations: 8 kB / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.8734, allocations: 4.156 kB / 1.113 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.8734, allocations: 11.94 kB / 1.113 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.842e-05/0.8735, allocations: 8.875 kB / 1.113 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.8737, allocations: 47.94 kB / 1.113 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002173/0.8739, allocations: 0.6841 MB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8739, allocations: 0 / 1.114 GB, free: 3.258 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)