Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.0.0/package.mo): time 2.142/2.142, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001624/0.001624, allocations: 181.2 kB / 360.3 MB, free: 7.504 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.723/1.723, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001248/0.001247, allocations: 89.03 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2508/0.2521, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6341/0.8862, allocations: 115.2 MB / 0.9627 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/1.136, allocations: 137.1 MB / 1.097 GB, free: 3.781 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004691/1.136, allocations: 82.47 kB / 1.097 GB, free: 3.703 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01427/1.151, allocations: 1.808 MB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.151, allocations: 8 kB / 1.098 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/1.151, allocations: 4.406 kB / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/1.151, allocations: 179 kB / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/1.151, allocations: 0 / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/1.151, allocations: 0 / 1.099 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/1.151, allocations: 8 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/1.151, allocations: 34.48 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.151, allocations: 0 / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/1.151, allocations: 0 / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.151, allocations: 0 / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/1.152, allocations: 138.3 kB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/1.152, allocations: 39.27 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/1.152, allocations: 8.922 kB / 1.099 GB, free: 1.402 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00218/1.154, allocations: 1.171 MB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/1.154, allocations: 35.22 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 4.208e-06/1.154, allocations: 0 / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003409/1.155, allocations: 42.27 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.155, allocations: 51.41 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/1.155, allocations: 103.1 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/1.155, allocations: 25.7 kB / 1.1 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/1.155, allocations: 80.14 kB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/1.155, allocations: 14.94 kB / 1.1 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/1.155, allocations: 7.938 kB / 1.1 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.155, allocations: 322.8 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/1.155, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/1.155, allocations: 4 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/1.156, allocations: 4.703 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.156, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002263/1.156, allocations: 45.69 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.156, allocations: 4 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.156, allocations: 3.906 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/1.156, allocations: 4 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/1.156, allocations: 8 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.156, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/1.156, allocations: 6.25 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/1.156, allocations: 0 / 1.101 GB, free: 15.18 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 (3): * Single equations (assignments): 3 * 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 0.0001247/1.156, allocations: 111.4 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/1.156, allocations: 8.734 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/1.157, allocations: 63.86 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.157, allocations: 0 / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.157, allocations: 4 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/1.157, allocations: 0 / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/1.157, allocations: 139.2 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.157, allocations: 0 / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.556e-05/1.157, allocations: 4 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/1.157, allocations: 4 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/1.157, allocations: 4 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.157, allocations: 0 / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/1.157, allocations: 3.984 kB / 1.101 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002477/1.158, allocations: 68.98 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004576/1.158, allocations: 458.3 kB / 1.102 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/1.158, allocations: 85.11 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/1.158, allocations: 3.906 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/1.158, allocations: 1.438 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.814e-05/1.158, allocations: 7.984 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/1.158, allocations: 1.406 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.000133/1.159, allocations: 83.28 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002057/1.161, allocations: 31.94 kB / 1.102 GB, free: 14.01 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 (3): * Single equations (assignments): 3 * 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.0004186/1.161, allocations: 131.1 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001598/1.161, allocations: 23.94 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.161, allocations: 0 / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.525e-05/1.161, allocations: 4 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/1.162, allocations: 7.938 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003727/1.162, allocations: 65.25 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/1.163, allocations: 0.6954 MB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of SimCode: time 1.173e-06/1.163, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)