Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.5/2.5, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.00159/0.001589, allocations: 181.3 kB / 360.3 MB, free: 7.559 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.908/1.908, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001248, allocations: 91.86 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2423/0.2436, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.7941, allocations: 115.2 MB / 0.9627 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2051/0.9993, allocations: 136.7 MB / 1.096 GB, free: 4.184 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.9996, allocations: 76.47 kB / 1.096 GB, free: 4.109 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.003665/1.003, allocations: 0.8512 MB / 1.097 GB, free: 3.25 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.003, allocations: 12.5 kB / 1.097 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/1.003, allocations: 0 / 1.097 GB, free: 3.238 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/1.004, allocations: 163 kB / 1.097 GB, free: 3.039 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/1.004, allocations: 0 / 1.097 GB, free: 3.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-06/1.004, allocations: 7.938 kB / 1.097 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.568e-05/1.004, allocations: 0 / 1.097 GB, free: 3.031 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.835e-05/1.004, allocations: 41.16 kB / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/1.004, allocations: 0.7969 kB / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/1.004, allocations: 0 / 1.097 GB, free: 2.988 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.004, allocations: 4 kB / 1.097 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/1.004, allocations: 127.7 kB / 1.098 GB, free: 2.824 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.701e-05/1.004, allocations: 22.61 kB / 1.098 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/1.004, allocations: 9.516 kB / 1.098 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009551/1.005, allocations: 0.603 MB / 1.098 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/1.005, allocations: 35.5 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.567e-06/1.005, allocations: 1.203 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001826/1.005, allocations: 46.58 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/1.005, allocations: 51.41 kB / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/1.005, allocations: 90.14 kB / 1.098 GB, free: 1.809 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/1.005, allocations: 26.2 kB / 1.098 GB, free: 1.777 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/1.006, allocations: 80.98 kB / 1.098 GB, free: 1.695 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/1.006, allocations: 7.844 kB / 1.098 GB, free: 1.688 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/1.006, allocations: 0.6875 kB / 1.098 GB, free: 1.688 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.006, allocations: 325.6 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/1.006, allocations: 0 / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/1.006, allocations: 7.984 kB / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.984e-05/1.006, allocations: 0 / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.006, allocations: 0 / 1.099 GB, free: 1.355 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001033/1.006, allocations: 37.64 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/1.006, allocations: 8.594 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/1.006, allocations: 0 / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/1.006, allocations: 0.5 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.39e-05/1.006, allocations: 4.531 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/1.006, allocations: 4.578 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/1.006, allocations: 0 / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/1.006, allocations: 8.062 kB / 1.099 GB, free: 1.289 MB / 0.698 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 9.781e-05/1.006, allocations: 113.3 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/1.006, allocations: 4 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/1.006, allocations: 45.98 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.006, allocations: 0 / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/1.006, allocations: 3.938 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.006, allocations: 3.906 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/1.007, allocations: 131.5 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.007, allocations: 0.6875 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.004e-05/1.007, allocations: 11.98 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.007, allocations: 0 / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/1.007, allocations: 0 / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.007, allocations: 0 / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.007, allocations: 0 / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001194/1.007, allocations: 65.05 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000295/1.007, allocations: 454.1 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/1.007, allocations: 81.11 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/1.007, allocations: 3.984 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.683e-05/1.007, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/1.007, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/1.007, allocations: 0 / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.221e-05/1.007, allocations: 79.84 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001072/1.008, allocations: 23.94 kB / 1.1 GB, free: 196 kB / 0.698 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.0002215/1.009, allocations: 115.2 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.619e-05/1.009, allocations: 8 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.009, allocations: 4 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/1.009, allocations: 4 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/1.009, allocations: 0 / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/1.009, allocations: 64.8 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/1.01, allocations: 0.6903 MB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/1.01, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)