Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.367/1.367, 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.001165/0.001165, allocations: 177.3 kB / 361.1 MB, free: 7.098 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.097/1.097, allocations: 205.1 MB / 0.6195 GB, free: 10.38 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.0008297/0.0008296, allocations: 86.2 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1894/0.1903, allocations: 121.4 MB / 0.8511 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.6116, allocations: 115.3 MB / 0.9637 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.7579, allocations: 149.9 MB / 1.11 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.7581, allocations: 80.58 kB / 1.11 GB, free: 5.988 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.08702/0.8452, allocations: 27.18 MB / 1.137 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.8452, allocations: 8.5 kB / 1.137 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.8456, allocations: 82.34 kB / 1.137 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.848, allocations: 1.238 MB / 1.138 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.848, allocations: 11.98 kB / 1.138 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.8481, allocations: 27.91 kB / 1.138 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000397/0.8485, allocations: 208.9 kB / 1.138 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.8489, allocations: 337 kB / 1.139 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.849, allocations: 0 / 1.139 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.849, allocations: 4 kB / 1.139 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.849, allocations: 4 kB / 1.139 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.8512, allocations: 1.933 MB / 1.14 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.8516, allocations: 286.7 kB / 1.141 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.8518, allocations: 124.8 kB / 1.141 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.8518, allocations: 4 kB / 1.141 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.8518, allocations: 34.5 kB / 1.141 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.8518, allocations: 0 / 1.141 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0005587/0.8524, allocations: 333.8 kB / 1.141 GB, free: 6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.8524, allocations: 59.41 kB / 1.141 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.8535, allocations: 0.89 MB / 1.142 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.8536, allocations: 25.7 kB / 1.142 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.8537, allocations: 216.4 kB / 1.142 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.953e-05/0.8538, allocations: 63.02 kB / 1.142 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.74e-05/0.8538, allocations: 0 / 1.142 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.854, allocations: 378.8 kB / 1.143 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.8542, allocations: 229.2 kB / 1.143 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.8546, allocations: 0.4894 MB / 1.144 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.855, allocations: 305.5 kB / 1.144 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.855, allocations: 0 / 1.144 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009965/0.856, allocations: 0.7414 MB / 1.145 GB, free: 2.457 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.8561, allocations: 6.031 kB / 1.145 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.8561, allocations: 12 kB / 1.145 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.8563, allocations: 68.73 kB / 1.145 GB, free: 2.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.8567, allocations: 127.8 kB / 1.145 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.8578, allocations: 1.424 MB / 1.146 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008683/0.8587, allocations: 132.5 kB / 1.146 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.8587, allocations: 28 kB / 1.146 GB, free: 0.5586 MB / 0.7448 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.987e-05/0.8588, allocations: 132.5 kB / 1.146 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.859, allocations: 63.16 kB / 1.146 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.902e-05/0.8591, allocations: 61.64 kB / 1.147 GB, free: 304 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.8591, allocations: 0 / 1.147 GB, free: 304 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8591, allocations: 6.938 kB / 1.147 GB, free: 300 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.8591, allocations: 3.984 kB / 1.147 GB, free: 296 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.8597, allocations: 0.6303 MB / 1.147 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8597, allocations: 3.938 kB / 1.147 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.86, allocations: 47.91 kB / 1.147 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.8601, allocations: 41.95 kB / 1.147 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.8602, allocations: 7.984 kB / 1.147 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009854/0.8612, allocations: 1.404 MB / 1.149 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8612, allocations: 4.031 kB / 1.149 GB, free: 14 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006168/0.8618, allocations: 0.5579 MB / 1.149 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009134/0.8627, allocations: 1.1 MB / 1.15 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.8631, allocations: 349.4 kB / 1.151 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.8632, allocations: 14.16 kB / 1.151 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.8638, allocations: 55.91 kB / 1.151 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.8638, allocations: 7.984 kB / 1.151 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.8638, allocations: 8 kB / 1.151 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0007828/0.8646, allocations: 0.6591 MB / 1.151 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001195/0.8658, allocations: 199.5 kB / 1.151 GB, free: 10.98 MB / 0.7605 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.0002252/0.8661, allocations: 168 kB / 1.152 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0007601/0.8668, allocations: 0.5366 MB / 1.152 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8669, allocations: 2.25 kB / 1.152 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.8671, allocations: 229.7 kB / 1.152 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.8678, allocations: 150.3 kB / 1.153 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.8697, allocations: 1.254 MB / 1.154 GB, free: 8.617 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007042/0.8704, allocations: 1.068 MB / 1.155 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of SimCode: time 1.392e-06/0.8704, allocations: 4 kB / 1.155 GB, free: 7.52 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1)