Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.238/2.238, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.002743/0.002743, allocations: 189.2 kB / 315.1 MB, free: 4.254 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.999/1.999, allocations: 205.1 MB / 0.5658 GB, free: 312 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.001328/0.001328, allocations: 87.33 kB / 0.67 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5226/0.524, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.7707, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7923/1.563, allocations: 144.4 MB / 1.025 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004115/1.564, allocations: 77.59 kB / 1.025 GB, free: 11.78 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.2004/1.764, allocations: 27.18 MB / 1.051 GB, free: 5.613 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.764, allocations: 8 kB / 1.051 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005747/1.765, allocations: 75.06 kB / 1.051 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/1.769, allocations: 1.246 MB / 1.052 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/1.77, allocations: 11.98 kB / 1.052 GB, free: 4.52 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/1.77, allocations: 24 kB / 1.052 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006566/1.77, allocations: 215.1 kB / 1.053 GB, free: 4.344 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008714/1.771, allocations: 331.4 kB / 1.053 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/1.771, allocations: 0 / 1.053 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/1.771, allocations: 0 / 1.053 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/1.771, allocations: 11.91 kB / 1.053 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004423/1.776, allocations: 1.928 MB / 1.055 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008209/1.777, allocations: 281.5 kB / 1.055 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/1.777, allocations: 128.5 kB / 1.055 GB, free: 2.031 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/1.777, allocations: 7.906 kB / 1.055 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/1.777, allocations: 34.5 kB / 1.055 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 3.166e-06/1.777, allocations: 0 / 1.055 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.001155/1.778, allocations: 340.9 kB / 1.056 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/1.778, allocations: 63.34 kB / 1.056 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/1.781, allocations: 0.8922 MB / 1.057 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.781, allocations: 25.7 kB / 1.057 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/1.781, allocations: 213.8 kB / 1.057 GB, free: 0.7305 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/1.781, allocations: 62.02 kB / 1.057 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/1.781, allocations: 0 / 1.057 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002124/1.781, allocations: 379 kB / 1.057 GB, free: 332 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005977/1.782, allocations: 225.4 kB / 1.057 GB, free: 160 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008203/1.783, allocations: 0.4956 MB / 1.058 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/1.784, allocations: 298.1 kB / 1.058 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/1.784, allocations: 7.906 kB / 1.058 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002627/1.787, allocations: 0.7378 MB / 1.059 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/1.787, allocations: 8.156 kB / 1.059 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-05/1.787, allocations: 12 kB / 1.059 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/1.787, allocations: 56.31 kB / 1.059 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.788, allocations: 138.9 kB / 1.059 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/1.79, allocations: 1.417 MB / 1.061 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/1.793, allocations: 135.5 kB / 1.061 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.793, allocations: 27.44 kB / 1.061 GB, free: 12.93 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 0.0001855/1.793, allocations: 132 kB / 1.061 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003444/1.793, allocations: 59.25 kB / 1.061 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/1.794, allocations: 62.27 kB / 1.061 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.794, allocations: 0 / 1.061 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.794, allocations: 0 / 1.061 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/1.794, allocations: 11.89 kB / 1.061 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/1.795, allocations: 0.6253 MB / 1.062 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/1.795, allocations: 0 / 1.062 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/1.796, allocations: 43.97 kB / 1.062 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/1.796, allocations: 43.73 kB / 1.062 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.284e-05/1.796, allocations: 7.984 kB / 1.062 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/1.798, allocations: 1.399 MB / 1.063 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/1.798, allocations: 11.89 kB / 1.063 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001552/1.8, allocations: 0.5546 MB / 1.064 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001905/1.802, allocations: 1.092 MB / 1.065 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.803, allocations: 349.9 kB / 1.065 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/1.803, allocations: 11.56 kB / 1.065 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/1.805, allocations: 59.84 kB / 1.065 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/1.805, allocations: 7.984 kB / 1.065 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/1.805, allocations: 4 kB / 1.065 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001771/1.807, allocations: 0.6684 MB / 1.066 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002418/1.809, allocations: 191.3 kB / 1.066 GB, free: 8.098 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.0005487/1.81, allocations: 164.9 kB / 1.066 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001511/1.811, allocations: 0.5438 MB / 1.067 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.811, allocations: 2.25 kB / 1.067 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005254/1.812, allocations: 231.9 kB / 1.067 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/1.813, allocations: 151.8 kB / 1.067 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004/1.817, allocations: 1.249 MB / 1.068 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.819, allocations: 1.07 MB / 1.069 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of SimCode: time 1.783e-06/1.819, allocations: 4 kB / 1.069 GB, free: 4.957 MB / 0.6823 GB