Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.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.ConductorSingleLayer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 249.4 MB / 256.7 MB, free: 7.02 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.0009529/0.0009532, allocations: 189.2 kB / 316 MB, free: 3.516 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.102/1.102, allocations: 205.2 MB / 0.5667 GB, free: 15.58 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.0008504/0.0008505, allocations: 90.27 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3109/0.3118, allocations: 112.4 MB / 0.7808 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.4622, allocations: 106.3 MB / 0.8846 GB, free: 12.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.9145, allocations: 141.6 MB / 1.023 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/0.9147, allocations: 72.78 kB / 1.023 GB, free: 12.92 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.06393/0.9787, allocations: 18.45 MB / 1.041 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.9787, allocations: 12 kB / 1.041 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.9792, allocations: 98.78 kB / 1.041 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.9817, allocations: 1.079 MB / 1.042 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.9817, allocations: 12 kB / 1.042 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-05/0.9818, allocations: 32 kB / 1.042 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000343/0.9821, allocations: 187.8 kB / 1.042 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.9826, allocations: 345.6 kB / 1.043 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.9827, allocations: 7.891 kB / 1.043 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.9827, allocations: 3.938 kB / 1.043 GB, free: 12 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.9827, allocations: 8 kB / 1.043 GB, free: 12 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.9851, allocations: 2.165 MB / 1.045 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.9856, allocations: 304.8 kB / 1.045 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.9858, allocations: 142.4 kB / 1.045 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.9858, allocations: 8.172 kB / 1.045 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.9858, allocations: 35.42 kB / 1.045 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.9858, allocations: 0 / 1.045 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.00149/0.9873, allocations: 0.9424 MB / 1.046 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.9874, allocations: 59.41 kB / 1.046 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/0.9882, allocations: 0.754 MB / 1.047 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.9883, allocations: 25.7 kB / 1.047 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.9884, allocations: 246.9 kB / 1.047 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.9885, allocations: 112.4 kB / 1.047 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.9886, allocations: 3.938 kB / 1.047 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.9887, allocations: 406.1 kB / 1.048 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/0.989, allocations: 200.8 kB / 1.048 GB, free: 7.246 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.9895, allocations: 0.5916 MB / 1.049 GB, free: 6.547 MB / 0.6667 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.001948/0.9915, allocations: 1.011 MB / 1.05 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.9915, allocations: 7.938 kB / 1.05 GB, free: 5.656 MB / 0.6667 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001128/0.9926, allocations: 0.781 MB / 1.05 GB, free: 4.988 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.9926, allocations: 4 kB / 1.05 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.9927, allocations: 12 kB / 1.05 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/0.9928, allocations: 52.33 kB / 1.05 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.9935, allocations: 214.9 kB / 1.051 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000971/0.9945, allocations: 1.328 MB / 1.052 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008872/0.9954, allocations: 39.81 kB / 1.052 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-05/0.9954, allocations: 41.25 kB / 1.052 GB, free: 3.246 MB / 0.6667 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.000161/0.9956, allocations: 171.7 kB / 1.052 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.9957, allocations: 83.06 kB / 1.052 GB, free: 3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.9959, allocations: 70.36 kB / 1.052 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.9959, allocations: 4 kB / 1.052 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.9959, allocations: 0 / 1.052 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.9959, allocations: 3.984 kB / 1.052 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.9975, allocations: 1.123 MB / 1.053 GB, free: 1.996 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9975, allocations: 0 / 1.053 GB, free: 1.996 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.998, allocations: 82.94 kB / 1.053 GB, free: 1.918 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.9981, allocations: 41.83 kB / 1.053 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.9981, allocations: 4 kB / 1.053 GB, free: 1.875 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009185/0.999, allocations: 1.303 MB / 1.055 GB, free: 0.5078 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9991, allocations: 0 / 1.055 GB, free: 0.5078 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007662/0.9998, allocations: 0.6768 MB / 1.055 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001116/1.001, allocations: 1.211 MB / 1.057 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/1.001, allocations: 201.2 kB / 1.057 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/1.001, allocations: 8 kB / 1.057 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/1.002, allocations: 31.8 kB / 1.057 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/1.002, allocations: 15.11 kB / 1.057 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/1.002, allocations: 10.88 kB / 1.057 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007088/1.003, allocations: 0.5537 MB / 1.057 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001444/1.004, allocations: 191.1 kB / 1.058 GB, free: 13.96 MB / 0.6823 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.0002687/1.005, allocations: 172.8 kB / 1.058 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001079/1.006, allocations: 0.5972 MB / 1.058 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.006, allocations: 4 kB / 1.058 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003178/1.006, allocations: 246.8 kB / 1.059 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/1.007, allocations: 154.9 kB / 1.059 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/1.009, allocations: 1.262 MB / 1.06 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007857/1.01, allocations: 1.069 MB / 1.061 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/1.01, allocations: 0 / 1.061 GB, free: 10.66 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer.pipe 2>&1)