Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.48/2.48, allocations: 248.6 MB / 255.9 MB, free: 7.191 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.001714/0.001713, allocations: 171.8 kB / 315.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.1 MB / 0.5658 GB, free: 452 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 89.95 kB / 0.67 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4995/0.5009, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.71, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7814/1.492, allocations: 141.4 MB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/1.492, allocations: 73.47 kB / 1.022 GB, free: 14.88 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.2612/1.753, allocations: 28.55 MB / 1.05 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/1.753, allocations: 8 kB / 1.05 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/1.754, allocations: 102.8 kB / 1.05 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005256/1.76, allocations: 1.068 MB / 1.051 GB, free: 6.117 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/1.76, allocations: 11.98 kB / 1.051 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.76, allocations: 39.84 kB / 1.051 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006672/1.761, allocations: 197 kB / 1.051 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008528/1.761, allocations: 361.5 kB / 1.051 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/1.761, allocations: 0 / 1.051 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/1.761, allocations: 3.938 kB / 1.051 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/1.762, allocations: 8 kB / 1.051 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004363/1.766, allocations: 2.406 MB / 1.054 GB, free: 3.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/1.767, allocations: 358 kB / 1.054 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/1.767, allocations: 152.1 kB / 1.054 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/1.767, allocations: 4 kB / 1.054 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/1.767, allocations: 34.56 kB / 1.054 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=30): time 3.717e-06/1.767, allocations: 0 / 1.054 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.001524/1.769, allocations: 447.5 kB / 1.055 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/1.769, allocations: 59.34 kB / 1.055 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.771, allocations: 0.758 MB / 1.055 GB, free: 1.871 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/1.771, allocations: 29.7 kB / 1.055 GB, free: 1.836 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002442/1.771, allocations: 253.5 kB / 1.056 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/1.772, allocations: 116.2 kB / 1.056 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.756e-05/1.772, allocations: 0 / 1.056 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002295/1.772, allocations: 393.3 kB / 1.056 GB, free: 1.164 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/1.772, allocations: 228.7 kB / 1.056 GB, free: 1.008 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009307/1.773, allocations: 0.6139 MB / 1.057 GB, free: 296 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000855/1.774, allocations: 333.3 kB / 1.057 GB, free: 36 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.774, allocations: 4 kB / 1.057 GB, free: 32 kB / 0.6667 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002737/1.777, allocations: 0.8981 MB / 1.058 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.777, allocations: 4 kB / 1.058 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/1.777, allocations: 16 kB / 1.058 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007098/1.778, allocations: 123.7 kB / 1.058 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.779, allocations: 189.4 kB / 1.058 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004855/1.784, allocations: 4.016 MB / 1.062 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/1.787, allocations: 106.9 kB / 1.062 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/1.787, allocations: 42.38 kB / 1.063 GB, free: 10.63 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.000221/1.787, allocations: 139.8 kB / 1.063 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/1.788, allocations: 86.7 kB / 1.063 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/1.788, allocations: 72.3 kB / 1.063 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/1.788, allocations: 4 kB / 1.063 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.788, allocations: 0 / 1.063 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/1.788, allocations: 11.92 kB / 1.063 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/1.789, allocations: 0.6581 MB / 1.063 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.789, allocations: 3.984 kB / 1.063 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007954/1.79, allocations: 59.34 kB / 1.064 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005855/1.791, allocations: 101.8 kB / 1.064 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/1.791, allocations: 7.984 kB / 1.064 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00514/1.796, allocations: 3.999 MB / 1.068 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.796, allocations: 0 / 1.068 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001971/1.798, allocations: 0.7073 MB / 1.068 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002528/1.8, allocations: 1.28 MB / 1.069 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006835/1.801, allocations: 208 kB / 1.07 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/1.801, allocations: 11.61 kB / 1.07 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/1.803, allocations: 31.81 kB / 1.07 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/1.803, allocations: 11.97 kB / 1.07 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/1.803, allocations: 11.69 kB / 1.07 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001216/1.804, allocations: 0.5615 MB / 1.07 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002511/1.807, allocations: 279.1 kB / 1.071 GB, free: 2.844 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.0003781/1.807, allocations: 163.8 kB / 1.071 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002105/1.809, allocations: 0.8395 MB / 1.072 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.809, allocations: 0 / 1.072 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009362/1.81, allocations: 488.9 kB / 1.072 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/1.812, allocations: 148.9 kB / 1.072 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/1.816, allocations: 1.394 MB / 1.073 GB, free: 32 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.817, allocations: 1.074 MB / 1.075 GB, free: 14.95 MB / 0.698 GB Notification: Performance of SimCode: time 1.783e-06/1.818, allocations: 0 / 1.075 GB, free: 14.95 MB / 0.698 GB