Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.ConductorSingleLayer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.39/1.39, allocations: 285.5 MB / 292.8 MB, free: 10.39 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.001192/0.001192, allocations: 181.3 kB / 361.1 MB, free: 7.055 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.197/1.197, allocations: 205.1 MB / 0.6195 GB, free: 10.23 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.000834/0.0008339, allocations: 95.73 kB / 0.7326 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2066/0.2074, allocations: 121.4 MB / 0.8511 GB, free: 2.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4804/0.6879, allocations: 115.3 MB / 0.9637 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.8443, allocations: 146.8 MB / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.8446, allocations: 75.97 kB / 1.107 GB, free: 9.047 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.06284/0.9074, allocations: 18.45 MB / 1.125 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.9075, allocations: 9.719 kB / 1.125 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.9078, allocations: 108.3 kB / 1.125 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.91, allocations: 1.074 MB / 1.126 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.9101, allocations: 8 kB / 1.126 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.9101, allocations: 39.91 kB / 1.126 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003327/0.9105, allocations: 185.2 kB / 1.127 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.911, allocations: 350.8 kB / 1.127 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.911, allocations: 0 / 1.127 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.911, allocations: 4 kB / 1.127 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.911, allocations: 8 kB / 1.127 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.9135, allocations: 2.164 MB / 1.129 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.914, allocations: 310.2 kB / 1.129 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.9142, allocations: 141.2 kB / 1.129 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.9143, allocations: 4.234 kB / 1.129 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.9143, allocations: 34.8 kB / 1.129 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 2.235e-06/0.9143, allocations: 4 kB / 1.129 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.001666/0.916, allocations: 0.9406 MB / 1.13 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/0.916, allocations: 55.41 kB / 1.13 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.917, allocations: 0.7583 MB / 1.131 GB, free: 124 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.9171, allocations: 25.7 kB / 1.131 GB, free: 92 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.9173, allocations: 256.7 kB / 1.131 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.9174, allocations: 106.4 kB / 1.132 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.9174, allocations: 0 / 1.132 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.9176, allocations: 398.7 kB / 1.132 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.9179, allocations: 197.7 kB / 1.132 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/0.9184, allocations: 0.593 MB / 1.133 GB, free: 14.34 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.002002/0.9204, allocations: 1.025 MB / 1.134 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.9204, allocations: 4 kB / 1.134 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001404/0.9218, allocations: 0.7751 MB / 1.134 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.9219, allocations: 4 kB / 1.134 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/0.9219, allocations: 16 kB / 1.135 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.9221, allocations: 50.91 kB / 1.135 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.9228, allocations: 211.9 kB / 1.135 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.9239, allocations: 1.326 MB / 1.136 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009706/0.9249, allocations: 43.8 kB / 1.136 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.925, allocations: 44 kB / 1.136 GB, free: 10.69 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.000174/0.9252, allocations: 164.7 kB / 1.136 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.9253, allocations: 82.88 kB / 1.136 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.9255, allocations: 68.42 kB / 1.136 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9255, allocations: 4 kB / 1.136 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9255, allocations: 3.984 kB / 1.136 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.9255, allocations: 1.562 kB / 1.136 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/0.9271, allocations: 1.123 MB / 1.138 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.9271, allocations: 0 / 1.138 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.9275, allocations: 85.11 kB / 1.138 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.9276, allocations: 44.8 kB / 1.138 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.9276, allocations: 4 kB / 1.138 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009329/0.9286, allocations: 1.298 MB / 1.139 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9286, allocations: 0 / 1.139 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00074/0.9293, allocations: 0.6774 MB / 1.14 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001009/0.9303, allocations: 1.217 MB / 1.141 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003286/0.9307, allocations: 211.9 kB / 1.141 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.9308, allocations: 7.984 kB / 1.141 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/0.9314, allocations: 23.91 kB / 1.141 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.9315, allocations: 19.89 kB / 1.141 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.9315, allocations: 8 kB / 1.141 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0007357/0.9323, allocations: 0.5616 MB / 1.142 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001382/0.9337, allocations: 197.1 kB / 1.142 GB, free: 4.586 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.0002352/0.9339, allocations: 164.9 kB / 1.142 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009615/0.9349, allocations: 0.5868 MB / 1.143 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9349, allocations: 4 kB / 1.143 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.9352, allocations: 245.7 kB / 1.143 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.9359, allocations: 145.8 kB / 1.143 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.9378, allocations: 1.277 MB / 1.144 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006712/0.9385, allocations: 1.075 MB / 1.145 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.9385, allocations: 0 / 1.145 GB, free: 1.031 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)