Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.79/2.79, allocations: 284.8 MB / 292.1 MB, free: 9.824 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.001659/0.001659, allocations: 183.8 kB / 360.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.934/1.934, allocations: 205.1 MB / 0.6187 GB, free: 3.367 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.001333/0.001333, allocations: 91.33 kB / 0.7317 GB, free: 1.836 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5653/0.5667, allocations: 121.4 MB / 0.8502 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.8018, allocations: 115.2 MB / 0.9627 GB, free: 57.03 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7002/1.502, allocations: 146.8 MB / 1.106 GB, free: 33.09 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/1.502, allocations: 77.7 kB / 1.106 GB, free: 33.09 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.182/1.685, allocations: 28.56 MB / 1.134 GB, free: 30.4 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.685, allocations: 15.78 kB / 1.134 GB, free: 30.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008999/1.685, allocations: 140.2 kB / 1.134 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006446/1.692, allocations: 1.548 MB / 1.136 GB, free: 29.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/1.692, allocations: 11.66 kB / 1.136 GB, free: 29.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/1.692, allocations: 52.47 kB / 1.136 GB, free: 29.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001782/1.694, allocations: 0.6302 MB / 1.136 GB, free: 29.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/1.696, allocations: 0.6127 MB / 1.137 GB, free: 29.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/1.696, allocations: 0 / 1.137 GB, free: 29.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/1.696, allocations: 0 / 1.137 GB, free: 29.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/1.696, allocations: 11.62 kB / 1.137 GB, free: 29.85 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005918/1.702, allocations: 2.617 MB / 1.14 GB, free: 28.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/1.703, allocations: 0.6516 MB / 1.14 GB, free: 28.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008723/1.704, allocations: 405.3 kB / 1.141 GB, free: 28.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/1.704, allocations: 19.7 kB / 1.141 GB, free: 28.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/1.704, allocations: 40.48 kB / 1.141 GB, free: 28.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 3.176e-06/1.704, allocations: 0.8438 kB / 1.141 GB, free: 28.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002715/1.707, allocations: 0.8996 MB / 1.141 GB, free: 28.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/1.707, allocations: 63.12 kB / 1.142 GB, free: 28.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/1.709, allocations: 0.9856 MB / 1.143 GB, free: 28.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002435/1.71, allocations: 25.7 kB / 1.143 GB, free: 28.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/1.71, allocations: 299.8 kB / 1.143 GB, free: 28.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000401/1.71, allocations: 165.8 kB / 1.143 GB, free: 28.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/1.71, allocations: 3.938 kB / 1.143 GB, free: 28.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.711, allocations: 351.8 kB / 1.143 GB, free: 27.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/1.712, allocations: 0.541 MB / 1.144 GB, free: 27.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/1.713, allocations: 0.8617 MB / 1.145 GB, free: 27.42 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002913/1.716, allocations: 0.7488 MB / 1.145 GB, free: 27.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/1.716, allocations: 3.875 kB / 1.145 GB, free: 27.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005031/1.721, allocations: 1.701 MB / 1.147 GB, free: 27.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/1.721, allocations: 8.5 kB / 1.147 GB, free: 27.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.013e-05/1.721, allocations: 11.38 kB / 1.147 GB, free: 27.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002622/1.722, allocations: 48.28 kB / 1.147 GB, free: 27.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/1.725, allocations: 352.3 kB / 1.147 GB, free: 27.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008552/1.733, allocations: 6.99 MB / 1.154 GB, free: 37.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004338/1.738, allocations: 119.4 kB / 1.154 GB, free: 37.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005507/1.739, allocations: 69.31 kB / 1.154 GB, free: 37.18 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.0004672/1.739, allocations: 139.8 kB / 1.155 GB, free: 37.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007262/1.74, allocations: 108.9 kB / 1.155 GB, free: 36.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004753/1.745, allocations: 1.072 MB / 1.156 GB, free: 36.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/1.745, allocations: 3.938 kB / 1.156 GB, free: 36.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/1.745, allocations: 4 kB / 1.156 GB, free: 36.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.745, allocations: 2.438 kB / 1.156 GB, free: 36.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002136/1.747, allocations: 0.8961 MB / 1.157 GB, free: 36.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.747, allocations: 4 kB / 1.157 GB, free: 36.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001325/1.748, allocations: 126.1 kB / 1.157 GB, free: 36.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002131/1.748, allocations: 30 kB / 1.157 GB, free: 36.73 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/1.749, allocations: 11.62 kB / 1.157 GB, free: 36.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/1.75, allocations: 1.312 MB / 1.158 GB, free: 35.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.75, allocations: 0 / 1.158 GB, free: 35.53 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004053/1.754, allocations: 1.554 MB / 1.16 GB, free: 35.31 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005534/1.76, allocations: 2.519 MB / 1.162 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/1.761, allocations: 371.3 kB / 1.162 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/1.761, allocations: 6.781 kB / 1.162 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/1.763, allocations: 36.52 kB / 1.162 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/1.763, allocations: 29.36 kB / 1.163 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.201e-05/1.763, allocations: 35.89 kB / 1.163 GB, free: 34.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.001617/1.765, allocations: 0.7193 MB / 1.163 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002945/1.768, allocations: 362.1 kB / 1.164 GB, free: 34.32 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.0009928/1.769, allocations: 286.9 kB / 1.164 GB, free: 34.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004088/1.773, allocations: 1.51 MB / 1.165 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.773, allocations: 0 / 1.165 GB, free: 33.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009074/1.774, allocations: 464 kB / 1.166 GB, free: 33.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.776, allocations: 198.7 kB / 1.166 GB, free: 33.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/1.781, allocations: 2.112 MB / 1.168 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.783, allocations: 1.233 MB / 1.169 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of SimCode: time 1.292e-06/1.783, allocations: 0 / 1.169 GB, free: 32.22 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1)