Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8",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.1-maint.8.0.x/package.mo): time 1.377/1.377, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.001058/0.001058, allocations: 177.3 kB / 361.1 MB, free: 7.117 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.13/1.13, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.001105/0.001105, allocations: 82.23 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2103/0.2114, allocations: 121.4 MB / 0.8511 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5262/0.7377, allocations: 115.3 MB / 0.9637 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.8942, allocations: 136.3 MB / 1.097 GB, free: 3.707 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.8946, allocations: 68.61 kB / 1.097 GB, free: 3.641 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.0009144/0.8955, allocations: 399.4 kB / 1.097 GB, free: 3.215 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.8956, allocations: 12.5 kB / 1.097 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.8956, allocations: 4 kB / 1.097 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.8957, allocations: 163 kB / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.8957, allocations: 1.094 kB / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.8958, allocations: 0 / 1.097 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.163e-05/0.8958, allocations: 4 kB / 1.097 GB, free: 2.996 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.537e-05/0.8959, allocations: 49.41 kB / 1.098 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.896, allocations: 1.547 kB / 1.098 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.896, allocations: 0 / 1.098 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.896, allocations: 0.5938 kB / 1.098 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.8961, allocations: 136.1 kB / 1.098 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.982e-05/0.8962, allocations: 33.22 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.755e-05/0.8962, allocations: 17.73 kB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.8963, allocations: 7.938 kB / 1.098 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.8963, allocations: 34.5 kB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.542e-06/0.8963, allocations: 2.078 kB / 1.098 GB, free: 2.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000143/0.8964, allocations: 37.7 kB / 1.098 GB, free: 2.605 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.8965, allocations: 77.11 kB / 1.098 GB, free: 2.512 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.867e-05/0.8965, allocations: 85 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.8966, allocations: 31.33 kB / 1.098 GB, free: 2.387 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.8966, allocations: 80.14 kB / 1.098 GB, free: 2.305 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.8966, allocations: 14.89 kB / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.8966, allocations: 0 / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.8967, allocations: 314.8 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.8967, allocations: 0 / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.8968, allocations: 13.72 kB / 1.098 GB, free: 1.957 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.976e-05/0.8968, allocations: 4.844 kB / 1.098 GB, free: 1.953 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.8968, allocations: 1.312 kB / 1.098 GB, free: 1.953 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.156e-05/0.8969, allocations: 37.69 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.8969, allocations: 7.938 kB / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.8969, allocations: 0.5312 kB / 1.098 GB, free: 1.902 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.8969, allocations: 9.094 kB / 1.098 GB, free: 1.895 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.897, allocations: 4 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.897, allocations: 0 / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.897, allocations: 4.75 kB / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.897, allocations: 0 / 1.098 GB, free: 1.887 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 6.188e-05/0.8971, allocations: 106.8 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/0.8971, allocations: 3.75 kB / 1.099 GB, free: 1.777 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.8972, allocations: 54.17 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.8973, allocations: 1.219 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8973, allocations: 0 / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8973, allocations: 0 / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.247e-05/0.8974, allocations: 131.4 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8974, allocations: 1.328 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.8974, allocations: 4 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8974, allocations: 0.5938 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.8974, allocations: 0.9375 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8974, allocations: 0 / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.8974, allocations: 3.906 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.303e-05/0.8975, allocations: 89.55 kB / 1.099 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001659/0.8977, allocations: 463.1 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.8978, allocations: 77.11 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.8978, allocations: 2.312 kB / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.8978, allocations: 0 / 1.099 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.8978, allocations: 7.906 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.8978, allocations: 2 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.966e-05/0.8979, allocations: 75.81 kB / 1.099 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007703/0.8986, allocations: 9.891 kB / 1.099 GB, free: 0.7734 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001465/0.8988, allocations: 99.62 kB / 1.1 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.26e-05/0.8989, allocations: 9.281 kB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8989, allocations: 0 / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.127e-06/0.8989, allocations: 8.438 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.163e-05/0.899, allocations: 4.125 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.8992, allocations: 56.86 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.8994, allocations: 0.6802 MB / 1.1 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8994, allocations: 0 / 1.1 GB, free: 15.86 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)