Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.215/2.215, allocations: 248.6 MB / 255.9 MB, free: 384 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001942/0.001942, allocations: 173.1 kB / 315.1 MB, free: 7.801 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.307/2.307, allocations: 205.1 MB / 0.5658 GB, free: 25.54 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.001333/0.001333, allocations: 89.17 kB / 0.67 GB, free: 2.969 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3237/0.325, allocations: 112.4 MB / 0.7797 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.8711, allocations: 106.2 MB / 0.8835 GB, free: 77.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2686/1.14, allocations: 143.4 MB / 1.024 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/1.14, allocations: 75.95 kB / 1.024 GB, free: 13.62 MB / 0.6823 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.6252/1.765, allocations: 27.18 MB / 1.05 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.765, allocations: 8.844 kB / 1.05 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007468/1.766, allocations: 81.53 kB / 1.05 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/1.772, allocations: 1.24 MB / 1.051 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/1.772, allocations: 14.72 kB / 1.051 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/1.772, allocations: 23.78 kB / 1.051 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007145/1.773, allocations: 208.9 kB / 1.052 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/1.774, allocations: 336.5 kB / 1.052 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/1.774, allocations: 0 / 1.052 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/1.774, allocations: 1.938 kB / 1.052 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/1.774, allocations: 10.25 kB / 1.052 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007387/1.782, allocations: 1.936 MB / 1.054 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/1.783, allocations: 273 kB / 1.054 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004377/1.784, allocations: 129 kB / 1.054 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/1.784, allocations: 4.656 kB / 1.054 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/1.784, allocations: 40.38 kB / 1.054 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.927e-06/1.784, allocations: 0 / 1.054 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001772/1.786, allocations: 339.6 kB / 1.055 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/1.786, allocations: 52.56 kB / 1.055 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/1.789, allocations: 0.891 MB / 1.056 GB, free: 140 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/1.789, allocations: 27.36 kB / 1.056 GB, free: 140 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/1.789, allocations: 204.8 kB / 1.056 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00028/1.79, allocations: 70.94 kB / 1.056 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/1.79, allocations: 1.25 kB / 1.056 GB, free: 139.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002745/1.79, allocations: 383.7 kB / 1.056 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009107/1.791, allocations: 225.7 kB / 1.056 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/1.792, allocations: 497.4 kB / 1.057 GB, free: 139 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/1.794, allocations: 301.8 kB / 1.057 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.366e-05/1.794, allocations: 3.078 kB / 1.057 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00363/1.797, allocations: 0.7503 MB / 1.058 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/1.797, allocations: 5.031 kB / 1.058 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.17e-05/1.797, allocations: 13.53 kB / 1.058 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/1.798, allocations: 52.45 kB / 1.058 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/1.8, allocations: 135.2 kB / 1.058 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/1.802, allocations: 1.416 MB / 1.059 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/1.805, allocations: 129 kB / 1.06 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/1.806, allocations: 28.3 kB / 1.06 GB, free: 137.3 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.0002608/1.806, allocations: 133.6 kB / 1.06 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005401/1.807, allocations: 62.5 kB / 1.06 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/1.807, allocations: 70.97 kB / 1.06 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/1.807, allocations: 5.188 kB / 1.06 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/1.807, allocations: 1.469 kB / 1.06 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/1.807, allocations: 1.219 kB / 1.06 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/1.81, allocations: 0.623 MB / 1.061 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.81, allocations: 0 / 1.061 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000976/1.811, allocations: 47.28 kB / 1.061 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004382/1.811, allocations: 43.83 kB / 1.061 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.612e-05/1.811, allocations: 10.64 kB / 1.061 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/1.814, allocations: 1.404 MB / 1.062 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/1.814, allocations: 0.6562 kB / 1.062 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00213/1.816, allocations: 0.5489 MB / 1.063 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002705/1.819, allocations: 1.105 MB / 1.064 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.82, allocations: 353.8 kB / 1.064 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/1.82, allocations: 4.5 kB / 1.064 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/1.822, allocations: 53.97 kB / 1.064 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.823, allocations: 11.98 kB / 1.064 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/1.823, allocations: 3.781 kB / 1.064 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00247/1.825, allocations: 0.6679 MB / 1.065 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003571/1.829, allocations: 189.2 kB / 1.065 GB, free: 133.7 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.0005512/1.829, allocations: 169 kB / 1.065 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002246/1.832, allocations: 0.5373 MB / 1.066 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/1.832, allocations: 0.9375 kB / 1.066 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007664/1.832, allocations: 238.6 kB / 1.066 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/1.835, allocations: 150.4 kB / 1.066 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/1.84, allocations: 1.251 MB / 1.067 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/1.842, allocations: 1.078 MB / 1.068 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.054e-06/1.842, allocations: 0 / 1.068 GB, free: 131.5 MB / 0.6823 GB