Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.209/1.209, allocations: 249.4 MB / 256.7 MB, free: 7.031 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.0009829/0.0009829, allocations: 188.4 kB / 316 MB, free: 3.527 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.05/1.05, allocations: 205.1 MB / 0.5667 GB, free: 15.72 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.0008377/0.0008378, allocations: 93.59 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3065/0.3074, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.4525, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4541/0.9066, allocations: 144.6 MB / 1.026 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.9069, allocations: 83.69 kB / 1.026 GB, free: 10.22 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.08577/0.9927, allocations: 27.17 MB / 1.052 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.9927, allocations: 12 kB / 1.053 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.9929, allocations: 79.06 kB / 1.053 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.9949, allocations: 1.245 MB / 1.054 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.995, allocations: 11.98 kB / 1.054 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.995, allocations: 24 kB / 1.054 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003362/0.9954, allocations: 214 kB / 1.054 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004152/0.9958, allocations: 331.5 kB / 1.054 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.9958, allocations: 0 / 1.054 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.9959, allocations: 3.906 kB / 1.054 GB, free: 2.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.9959, allocations: 8 kB / 1.054 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.9979, allocations: 1.927 MB / 1.056 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/0.9983, allocations: 281.6 kB / 1.057 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.9985, allocations: 133 kB / 1.057 GB, free: 484 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.9985, allocations: 4 kB / 1.057 GB, free: 480 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.9986, allocations: 30.56 kB / 1.057 GB, free: 440 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.9986, allocations: 0 / 1.057 GB, free: 440 kB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0006418/0.9992, allocations: 337.3 kB / 1.057 GB, free: 152 kB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.9993, allocations: 51.41 kB / 1.057 GB, free: 88 kB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009551/1, allocations: 0.8955 MB / 1.058 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/1, allocations: 25.7 kB / 1.058 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/1, allocations: 216.5 kB / 1.058 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-05/1, allocations: 62.86 kB / 1.058 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/1.001, allocations: 3.938 kB / 1.058 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.001, allocations: 382.9 kB / 1.059 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/1.001, allocations: 233.5 kB / 1.059 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/1.001, allocations: 0.4911 MB / 1.059 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/1.002, allocations: 301.4 kB / 1.06 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.002, allocations: 4 kB / 1.06 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009476/1.003, allocations: 0.7366 MB / 1.06 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/1.003, allocations: 8 kB / 1.06 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.003, allocations: 12 kB / 1.06 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/1.003, allocations: 55.44 kB / 1.06 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/1.003, allocations: 131.5 kB / 1.06 GB, free: 13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/1.004, allocations: 1.425 MB / 1.062 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008611/1.005, allocations: 135.5 kB / 1.062 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/1.005, allocations: 23 kB / 1.062 GB, free: 11.38 MB / 0.6823 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.891e-05/1.005, allocations: 131.5 kB / 1.062 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/1.005, allocations: 55.25 kB / 1.062 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/1.006, allocations: 69.33 kB / 1.062 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/1.006, allocations: 0 / 1.062 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.006, allocations: 3.906 kB / 1.062 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.006, allocations: 7.984 kB / 1.062 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/1.006, allocations: 0.6221 MB / 1.063 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.006, allocations: 0 / 1.063 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/1.006, allocations: 55.31 kB / 1.063 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/1.007, allocations: 36.27 kB / 1.063 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/1.007, allocations: 11.73 kB / 1.063 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009694/1.008, allocations: 1.397 MB / 1.064 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.008, allocations: 4.156 kB / 1.064 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005791/1.008, allocations: 0.5555 MB / 1.065 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007998/1.009, allocations: 1.092 MB / 1.066 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/1.009, allocations: 357.5 kB / 1.066 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.249e-05/1.009, allocations: 11.42 kB / 1.066 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005128/1.01, allocations: 51.91 kB / 1.066 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/1.01, allocations: 11.89 kB / 1.066 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/1.01, allocations: 4 kB / 1.066 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006898/1.011, allocations: 0.6725 MB / 1.067 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001187/1.012, allocations: 187.8 kB / 1.067 GB, free: 6.547 MB / 0.6823 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.0002224/1.012, allocations: 163.7 kB / 1.067 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006685/1.013, allocations: 0.5448 MB / 1.068 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.013, allocations: 3.938 kB / 1.068 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/1.013, allocations: 229.8 kB / 1.068 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/1.014, allocations: 150.6 kB / 1.068 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/1.016, allocations: 1.242 MB / 1.069 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006606/1.016, allocations: 1.073 MB / 1.071 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/1.016, allocations: 4 kB / 1.071 GB, free: 3.414 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)