Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.ConductorSingleLayer,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer",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.533/2.533, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.002284/0.002284, allocations: 181.2 kB / 360.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001297/0.001296, allocations: 88.53 kB / 0.7317 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2954/0.2968, allocations: 121.4 MB / 0.8502 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6694/0.9662, allocations: 115.2 MB / 0.9627 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/1.212, allocations: 146.6 MB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/1.213, allocations: 76.58 kB / 1.106 GB, free: 10.14 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.1218/1.334, allocations: 18.45 MB / 1.124 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.335, allocations: 8.5 kB / 1.124 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005263/1.335, allocations: 102.8 kB / 1.124 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004705/1.34, allocations: 1.074 MB / 1.125 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/1.34, allocations: 12 kB / 1.125 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/1.34, allocations: 35.91 kB / 1.125 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006903/1.341, allocations: 185.3 kB / 1.125 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008442/1.342, allocations: 342.9 kB / 1.126 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/1.342, allocations: 7.938 kB / 1.126 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/1.342, allocations: 0 / 1.126 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/1.342, allocations: 12 kB / 1.126 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004188/1.346, allocations: 2.16 MB / 1.128 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/1.347, allocations: 315.8 kB / 1.128 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003625/1.347, allocations: 142.4 kB / 1.128 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/1.347, allocations: 4.234 kB / 1.128 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/1.347, allocations: 47.75 kB / 1.128 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 3.116e-06/1.347, allocations: 0 / 1.128 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.002764/1.35, allocations: 0.9382 MB / 1.129 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/1.35, allocations: 55.41 kB / 1.129 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/1.352, allocations: 0.7544 MB / 1.13 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.739e-05/1.352, allocations: 25.7 kB / 1.13 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/1.352, allocations: 256.7 kB / 1.13 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/1.353, allocations: 110.4 kB / 1.13 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/1.353, allocations: 0 / 1.13 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000261/1.353, allocations: 390.8 kB / 1.131 GB, free: 416 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/1.354, allocations: 205.7 kB / 1.131 GB, free: 208 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/1.355, allocations: 0.5956 MB / 1.132 GB, free: 15.41 MB / 0.7448 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) (TB1.T = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2])) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) (TB.T = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3])) Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/1.359, allocations: 1.012 MB / 1.133 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/1.359, allocations: 4 kB / 1.133 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002288/1.361, allocations: 0.7788 MB / 1.133 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/1.361, allocations: 4 kB / 1.133 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.361, allocations: 16 kB / 1.133 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/1.361, allocations: 53.33 kB / 1.133 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/1.363, allocations: 215.5 kB / 1.134 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/1.364, allocations: 1.321 MB / 1.135 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.366, allocations: 47.8 kB / 1.135 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.367, allocations: 36 kB / 1.135 GB, free: 11.78 MB / 0.7448 GB Warning: Assuming redundant initial conditions for the following 2 initial equations: con2.T[2] = con2.T_a_start + (con2.T_b_start - con2.T_a_start) * con2.UA * (con2.RNod[1] + con2.RNod[2]) con.T[4] = con.T_a_start + (con.T_b_start - con.T_a_start) * con.UA * (con.RNod[2] + con.RNod[3]) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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 0.0003125/1.367, allocations: 168.4 kB / 1.135 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/1.367, allocations: 86.86 kB / 1.135 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/1.368, allocations: 76.42 kB / 1.135 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/1.368, allocations: 2.625 kB / 1.135 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.368, allocations: 4 kB / 1.135 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.368, allocations: 0 / 1.135 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/1.37, allocations: 1.119 MB / 1.136 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.371, allocations: 4 kB / 1.136 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008222/1.371, allocations: 80 kB / 1.136 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/1.372, allocations: 36.75 kB / 1.136 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-05/1.372, allocations: 11.98 kB / 1.137 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/1.373, allocations: 1.3 MB / 1.138 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/1.373, allocations: 0 / 1.138 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001623/1.375, allocations: 0.6754 MB / 1.138 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002055/1.377, allocations: 1.221 MB / 1.14 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006501/1.378, allocations: 203.9 kB / 1.14 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/1.378, allocations: 9.125 kB / 1.14 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.379, allocations: 27.91 kB / 1.14 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/1.379, allocations: 19.88 kB / 1.14 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.266e-05/1.379, allocations: 8 kB / 1.14 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.002227/1.382, allocations: 0.5616 MB / 1.14 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002269/1.384, allocations: 192 kB / 1.141 GB, free: 5.672 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (con.T[1],con.T[2],con.T[3],con1.T[1],con1.T[2],con2.T[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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.0004051/1.384, allocations: 160.7 kB / 1.141 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001894/1.386, allocations: 0.5829 MB / 1.141 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.386, allocations: 3.938 kB / 1.141 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005846/1.387, allocations: 245.7 kB / 1.142 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/1.388, allocations: 142.4 kB / 1.142 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/1.392, allocations: 1.287 MB / 1.143 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/1.394, allocations: 1.076 MB / 1.144 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/1.394, allocations: 0 / 1.144 GB, free: 2.113 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)