Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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 7.0.3-maint.7.0.x/package.mo): time 1.222/1.222, allocations: 249.4 MB / 256.7 MB, free: 7.008 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009473/0.0009474, allocations: 177.3 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.05/1.05, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008249/0.0008249, allocations: 99.25 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2891/0.29, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.4284, allocations: 106.3 MB / 0.8846 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4351/0.8635, allocations: 144.6 MB / 1.026 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.8638, allocations: 75.84 kB / 1.026 GB, free: 10.21 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.08418/0.9479, allocations: 27.18 MB / 1.052 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.948, allocations: 8 kB / 1.052 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.9482, allocations: 79 kB / 1.053 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.9503, allocations: 1.247 MB / 1.054 GB, free: 2.969 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.9503, allocations: 8 kB / 1.054 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.9503, allocations: 27.75 kB / 1.054 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003069/0.9507, allocations: 212.1 kB / 1.054 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.9511, allocations: 337.5 kB / 1.054 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.9511, allocations: 0 / 1.054 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.9511, allocations: 7.906 kB / 1.054 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.9511, allocations: 4 kB / 1.054 GB, free: 2.488 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.9531, allocations: 1.933 MB / 1.056 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.9535, allocations: 277.1 kB / 1.057 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001536/0.9537, allocations: 137.4 kB / 1.057 GB, free: 472 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.9537, allocations: 4 kB / 1.057 GB, free: 468 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.9537, allocations: 37.62 kB / 1.057 GB, free: 424 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.9537, allocations: 0 / 1.057 GB, free: 424 kB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0005075/0.9542, allocations: 327.2 kB / 1.057 GB, free: 140 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.9542, allocations: 55.41 kB / 1.057 GB, free: 72 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009498/0.9552, allocations: 0.8916 MB / 1.058 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.9552, allocations: 25.7 kB / 1.058 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.9554, allocations: 227.7 kB / 1.058 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.817e-05/0.9555, allocations: 57.67 kB / 1.058 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.9555, allocations: 0 / 1.058 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9557, allocations: 382.4 kB / 1.059 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.9559, allocations: 224.3 kB / 1.059 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/0.9563, allocations: 0.4912 MB / 1.059 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.9567, allocations: 309 kB / 1.06 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9567, allocations: 4 kB / 1.06 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009096/0.9576, allocations: 0.7317 MB / 1.06 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.9576, allocations: 8 kB / 1.06 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9576, allocations: 8 kB / 1.06 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.9578, allocations: 56.42 kB / 1.06 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.9583, allocations: 135.7 kB / 1.06 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.9594, allocations: 1.417 MB / 1.062 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008329/0.9602, allocations: 131.3 kB / 1.062 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.9603, allocations: 26.94 kB / 1.062 GB, free: 11.38 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 prepare postOptimizeDAE: time 9.878e-05/0.9604, allocations: 128.2 kB / 1.062 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.9605, allocations: 63.25 kB / 1.062 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.461e-05/0.9606, allocations: 66.77 kB / 1.062 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.9606, allocations: 0 / 1.062 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9606, allocations: 7.906 kB / 1.062 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.9606, allocations: 3.938 kB / 1.062 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.9612, allocations: 0.6193 MB / 1.063 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.9612, allocations: 3.984 kB / 1.063 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.9615, allocations: 51.81 kB / 1.063 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001096/0.9616, allocations: 43.58 kB / 1.063 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.9616, allocations: 7.984 kB / 1.063 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000973/0.9626, allocations: 1.405 MB / 1.064 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.9626, allocations: 0 / 1.064 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005646/0.9632, allocations: 0.5607 MB / 1.065 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008182/0.964, allocations: 1.092 MB / 1.066 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.9644, allocations: 360.1 kB / 1.066 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.239e-05/0.9645, allocations: 4 kB / 1.066 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005094/0.965, allocations: 51.92 kB / 1.066 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.965, allocations: 15.89 kB / 1.066 GB, free: 7.215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.965, allocations: 11.23 kB / 1.066 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006804/0.9657, allocations: 0.6647 MB / 1.067 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001133/0.9669, allocations: 186.8 kB / 1.067 GB, free: 6.543 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0002303/0.9671, allocations: 167.8 kB / 1.067 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006638/0.9678, allocations: 0.5417 MB / 1.068 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9678, allocations: 128 / 1.068 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.968, allocations: 235.5 kB / 1.068 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.9686, allocations: 143.8 kB / 1.068 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.9704, allocations: 1.251 MB / 1.069 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006733/0.9711, allocations: 1.074 MB / 1.071 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.9711, allocations: 0 / 1.071 GB, free: 3.406 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1)