Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.248/1.248, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.0013/0.001301, allocations: 176.3 kB / 316 MB, free: 3.555 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.201/1.201, allocations: 205.2 MB / 0.5667 GB, free: 15.7 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.0007716/0.0007716, allocations: 98.02 kB / 0.671 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3359/0.3367, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.4948, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4962/0.9911, allocations: 141.6 MB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/0.9913, allocations: 76.09 kB / 1.023 GB, free: 13.05 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.1017/1.093, allocations: 28.55 MB / 1.051 GB, free: 5.277 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.093, allocations: 8 kB / 1.051 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/1.093, allocations: 106.7 kB / 1.051 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/1.095, allocations: 1.064 MB / 1.052 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/1.095, allocations: 11.91 kB / 1.052 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/1.095, allocations: 38.92 kB / 1.052 GB, free: 4.238 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003158/1.096, allocations: 196.8 kB / 1.052 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/1.096, allocations: 359.8 kB / 1.053 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.096, allocations: 0 / 1.053 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/1.096, allocations: 0 / 1.053 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/1.096, allocations: 12 kB / 1.053 GB, free: 3.781 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002151/1.098, allocations: 2.4 MB / 1.055 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005401/1.099, allocations: 364.8 kB / 1.055 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/1.099, allocations: 146.7 kB / 1.055 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/1.099, allocations: 4 kB / 1.055 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/1.099, allocations: 42.38 kB / 1.056 GB, free: 1.066 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/1.099, allocations: 4 kB / 1.056 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.0007788/1.1, allocations: 445.9 kB / 1.056 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/1.1, allocations: 55.41 kB / 1.056 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008505/1.101, allocations: 0.7589 MB / 1.057 GB, free: 44 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.311e-05/1.101, allocations: 25.7 kB / 1.057 GB, free: 12 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/1.101, allocations: 252.3 kB / 1.057 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/1.101, allocations: 120.4 kB / 1.057 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/1.101, allocations: 4 kB / 1.057 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.102, allocations: 389.6 kB / 1.058 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/1.102, allocations: 228.3 kB / 1.058 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/1.102, allocations: 0.6119 MB / 1.058 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/1.103, allocations: 326.4 kB / 1.059 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/1.103, allocations: 8 kB / 1.059 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001285/1.104, allocations: 0.9022 MB / 1.06 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.104, allocations: 12.16 kB / 1.06 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.104, allocations: 12 kB / 1.06 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003523/1.104, allocations: 115.4 kB / 1.06 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/1.105, allocations: 194.5 kB / 1.06 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003092/1.108, allocations: 4.016 MB / 1.064 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.109, allocations: 106.9 kB / 1.064 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/1.11, allocations: 43 kB / 1.064 GB, free: 8.809 MB / 0.6823 GB 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 (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001447/1.11, allocations: 135.8 kB / 1.064 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/1.11, allocations: 82.88 kB / 1.064 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001453/1.11, allocations: 76.86 kB / 1.064 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.11, allocations: 4 kB / 1.064 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.11, allocations: 4 kB / 1.064 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.11, allocations: 3.984 kB / 1.064 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/1.111, allocations: 0.669 MB / 1.065 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.111, allocations: 0 / 1.065 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/1.111, allocations: 55.47 kB / 1.065 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003212/1.111, allocations: 104.4 kB / 1.065 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/1.111, allocations: 6.984 kB / 1.065 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/1.114, allocations: 3.995 MB / 1.069 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.114, allocations: 0 / 1.069 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009089/1.115, allocations: 0.7118 MB / 1.07 GB, free: 3.062 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001127/1.116, allocations: 1.276 MB / 1.071 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/1.116, allocations: 209.2 kB / 1.071 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.117, allocations: 15.27 kB / 1.071 GB, free: 1.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/1.117, allocations: 27.91 kB / 1.071 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/1.117, allocations: 19.91 kB / 1.071 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/1.117, allocations: 7.375 kB / 1.071 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006358/1.118, allocations: 0.5564 MB / 1.072 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001461/1.119, allocations: 283.1 kB / 1.072 GB, free: 1.02 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002154/1.12, allocations: 170.4 kB / 1.072 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001062/1.121, allocations: 0.8375 MB / 1.073 GB, free: 104 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.121, allocations: 0 / 1.073 GB, free: 104 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004861/1.121, allocations: 475.8 kB / 1.073 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/1.122, allocations: 157.6 kB / 1.074 GB, free: 15.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/1.124, allocations: 1.39 MB / 1.075 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007584/1.125, allocations: 1.076 MB / 1.076 GB, free: 13.13 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/1.125, allocations: 0 / 1.076 GB, free: 13.13 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)