Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.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.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",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.094/2.094, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.002692/0.002692, allocations: 186.7 kB / 315.1 MB, free: 4.293 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.858/1.858, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001782/0.001782, allocations: 94.56 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5079/0.5097, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.7135, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.712/1.426, allocations: 138.5 MB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005463/1.426, allocations: 82.33 kB / 1.019 GB, free: 1.516 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.07538/1.502, allocations: 10.53 MB / 1.029 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.288e-05/1.502, allocations: 11.94 kB / 1.029 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003729/1.502, allocations: 59.25 kB / 1.029 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/1.503, allocations: 346.4 kB / 1.029 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/1.504, allocations: 16 kB / 1.029 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/1.504, allocations: 28 kB / 1.029 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001427/1.505, allocations: 281.7 kB / 1.03 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/1.507, allocations: 316.1 kB / 1.03 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/1.507, allocations: 0 / 1.03 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/1.507, allocations: 0 / 1.03 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/1.507, allocations: 12 kB / 1.03 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005962/1.513, allocations: 1.217 MB / 1.031 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/1.514, allocations: 343.2 kB / 1.032 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007854/1.515, allocations: 215.1 kB / 1.032 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.203e-05/1.515, allocations: 4 kB / 1.032 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/1.515, allocations: 42.06 kB / 1.032 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=41): time 5.32e-06/1.515, allocations: 3.938 kB / 1.032 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of matching and sorting (n=41): time 0.005254/1.521, allocations: 0.6436 MB / 1.032 GB, free: 5.691 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/1.521, allocations: 55.41 kB / 1.033 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006544/1.521, allocations: 233.4 kB / 1.033 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.522, allocations: 25.7 kB / 1.033 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/1.522, allocations: 193.2 kB / 1.033 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/1.522, allocations: 134.4 kB / 1.033 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/1.522, allocations: 4 kB / 1.033 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002294/1.522, allocations: 340.3 kB / 1.033 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/1.523, allocations: 118.5 kB / 1.034 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/1.524, allocations: 187 kB / 1.034 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/1.524, allocations: 145 kB / 1.034 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/1.524, allocations: 0 / 1.034 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005102/1.529, allocations: 0.6466 MB / 1.034 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.53, allocations: 89.36 kB / 1.035 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.53, allocations: 0 / 1.035 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004723/1.534, allocations: 404.4 kB / 1.035 GB, free: 3.523 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/1.535, allocations: 35.92 kB / 1.035 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/1.539, allocations: 1.143 MB / 1.036 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/1.54, allocations: 27.73 kB / 1.036 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/1.541, allocations: 8 kB / 1.036 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.541, allocations: 4 kB / 1.036 GB, free: 2.504 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004824/1.546, allocations: 0.5953 MB / 1.037 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/1.546, allocations: 0 / 1.037 GB, free: 2.047 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00453/1.55, allocations: 412.8 kB / 1.037 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004025/1.551, allocations: 27.92 kB / 1.037 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/1.564, allocations: 3.457 MB / 1.041 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000883/1.565, allocations: 31.73 kB / 1.041 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/1.565, allocations: 11.81 kB / 1.041 GB, free: 14.82 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002122/1.565, allocations: 109.6 kB / 1.041 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/1.565, allocations: 35.53 kB / 1.041 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/1.565, allocations: 53.34 kB / 1.041 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.565, allocations: 4 kB / 1.041 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.565, allocations: 0 / 1.041 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/1.565, allocations: 3.984 kB / 1.041 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008982/1.566, allocations: 437.9 kB / 1.041 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.566, allocations: 192 / 1.041 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/1.567, allocations: 27.98 kB / 1.041 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/1.57, allocations: 398 kB / 1.042 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-05/1.57, allocations: 0 / 1.042 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/1.58, allocations: 3.423 MB / 1.045 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.496e-05/1.58, allocations: 3.938 kB / 1.045 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003385/1.583, allocations: 0.7394 MB / 1.046 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003607/1.587, allocations: 1.102 MB / 1.047 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/1.588, allocations: 140.2 kB / 1.047 GB, free: 9.398 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/1.588, allocations: 7.984 kB / 1.047 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005525/1.588, allocations: 19.84 kB / 1.047 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.588, allocations: 23.27 kB / 1.047 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/1.588, allocations: 11.19 kB / 1.047 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003372/1.589, allocations: 186.1 kB / 1.047 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00288/1.592, allocations: 251.3 kB / 1.047 GB, free: 8.953 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002563/1.592, allocations: 107.1 kB / 1.047 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004112/1.596, allocations: 0.8312 MB / 1.048 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.882e-06/1.596, allocations: 0 / 1.048 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/1.598, allocations: 402.4 kB / 1.049 GB, free: 7.859 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008878/1.599, allocations: 82.16 kB / 1.049 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/1.602, allocations: 0.5668 MB / 1.049 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006576/1.603, allocations: 0.8556 MB / 1.05 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of SimCode: time 1.303e-06/1.603, allocations: 0 / 1.05 GB, free: 6.371 MB / 0.6667 GB