Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",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.444/1.444, allocations: 285.5 MB / 292.8 MB, free: 9.902 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.0009625/0.0009626, allocations: 177.3 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 0.6195 GB, free: 2.883 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007812/0.0007811, allocations: 92.31 kB / 0.7326 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4373/0.4381, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.6096, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5147/1.124, allocations: 146.9 MB / 1.107 GB, free: 32.19 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/1.125, allocations: 81.33 kB / 1.107 GB, free: 32.19 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.09133/1.216, allocations: 28.56 MB / 1.135 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.216, allocations: 7.875 kB / 1.135 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000288/1.216, allocations: 138.6 kB / 1.135 GB, free: 29.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003011/1.219, allocations: 1.555 MB / 1.137 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/1.219, allocations: 11.66 kB / 1.137 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-05/1.219, allocations: 46.59 kB / 1.137 GB, free: 29.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007828/1.22, allocations: 0.6273 MB / 1.138 GB, free: 29.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007156/1.221, allocations: 0.6133 MB / 1.138 GB, free: 28.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.221, allocations: 0 / 1.138 GB, free: 28.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.276e-05/1.221, allocations: 0 / 1.138 GB, free: 28.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.221, allocations: 15.53 kB / 1.138 GB, free: 28.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/1.224, allocations: 2.615 MB / 1.141 GB, free: 27.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007764/1.225, allocations: 0.6557 MB / 1.141 GB, free: 27.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/1.225, allocations: 404.6 kB / 1.142 GB, free: 27.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.814e-05/1.225, allocations: 23.36 kB / 1.142 GB, free: 27.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/1.225, allocations: 37.69 kB / 1.142 GB, free: 27.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/1.225, allocations: 0 / 1.142 GB, free: 27.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.001263/1.227, allocations: 0.9033 MB / 1.143 GB, free: 27.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/1.227, allocations: 55.28 kB / 1.143 GB, free: 27.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/1.228, allocations: 0.987 MB / 1.144 GB, free: 27.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.539e-05/1.228, allocations: 29.7 kB / 1.144 GB, free: 27.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/1.228, allocations: 301.2 kB / 1.144 GB, free: 27.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/1.228, allocations: 169.9 kB / 1.144 GB, free: 27.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/1.228, allocations: 0 / 1.144 GB, free: 27.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.905e-05/1.228, allocations: 353.4 kB / 1.144 GB, free: 26.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/1.229, allocations: 0.5365 MB / 1.145 GB, free: 26.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/1.229, allocations: 0.8577 MB / 1.146 GB, free: 26.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/1.23, allocations: 0.7512 MB / 1.147 GB, free: 26.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/1.23, allocations: 3.875 kB / 1.147 GB, free: 26.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002105/1.233, allocations: 1.699 MB / 1.148 GB, free: 26.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.233, allocations: 11.2 kB / 1.148 GB, free: 26.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/1.233, allocations: 11.53 kB / 1.148 GB, free: 26.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/1.233, allocations: 46.11 kB / 1.148 GB, free: 26.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/1.234, allocations: 355.2 kB / 1.149 GB, free: 26.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004061/1.238, allocations: 6.988 MB / 1.155 GB, free: 36.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/1.24, allocations: 121 kB / 1.156 GB, free: 36.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/1.24, allocations: 63.62 kB / 1.156 GB, free: 36.29 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001623/1.24, allocations: 141.6 kB / 1.156 GB, free: 36.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/1.24, allocations: 108.8 kB / 1.156 GB, free: 36.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/1.242, allocations: 1.07 MB / 1.157 GB, free: 36.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/1.242, allocations: 3.906 kB / 1.157 GB, free: 36.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.242, allocations: 0 / 1.157 GB, free: 36.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.242, allocations: 7.641 kB / 1.157 GB, free: 36.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/1.243, allocations: 0.9016 MB / 1.158 GB, free: 35.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.243, allocations: 0 / 1.158 GB, free: 35.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/1.243, allocations: 125.8 kB / 1.158 GB, free: 35.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.922e-05/1.243, allocations: 26.69 kB / 1.158 GB, free: 35.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/1.244, allocations: 13.62 kB / 1.158 GB, free: 35.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008057/1.244, allocations: 1.311 MB / 1.159 GB, free: 34.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.244, allocations: 1.031 kB / 1.159 GB, free: 34.63 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001637/1.246, allocations: 1.558 MB / 1.161 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002337/1.248, allocations: 2.521 MB / 1.163 GB, free: 33.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/1.249, allocations: 372 kB / 1.164 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/1.249, allocations: 9.562 kB / 1.164 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007873/1.25, allocations: 33.66 kB / 1.164 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/1.25, allocations: 33.64 kB / 1.164 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/1.25, allocations: 33.48 kB / 1.164 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0008656/1.251, allocations: 0.7154 MB / 1.164 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001732/1.253, allocations: 360.6 kB / 1.165 GB, free: 33.43 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004765/1.253, allocations: 295.5 kB / 1.165 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002193/1.255, allocations: 1.503 MB / 1.167 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.255, allocations: 0.8125 kB / 1.167 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004244/1.256, allocations: 462.4 kB / 1.167 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/1.257, allocations: 196.7 kB / 1.167 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/1.259, allocations: 2.115 MB / 1.169 GB, free: 32.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007602/1.26, allocations: 1.232 MB / 1.17 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/1.26, allocations: 0 / 1.17 GB, free: 31.34 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)