Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.Shade,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade",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.271/2.271, allocations: 248.6 MB / 255.9 MB, free: 7.199 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.001712/0.001711, allocations: 191.3 kB / 315.1 MB, free: 4.316 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.018/2.018, allocations: 205.1 MB / 0.5658 GB, free: 424 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.001286/0.001286, allocations: 98.44 kB / 0.67 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4569/0.4582, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.7021, allocations: 106.3 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7229/1.425, allocations: 137.2 MB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/1.425, allocations: 82.64 kB / 1.018 GB, free: 3.023 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.03653/1.462, allocations: 6.992 MB / 1.024 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.462, allocations: 8 kB / 1.024 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/1.462, allocations: 51.38 kB / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/1.463, allocations: 327.2 kB / 1.025 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/1.463, allocations: 15.91 kB / 1.025 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/1.463, allocations: 20 kB / 1.025 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000779/1.464, allocations: 225.4 kB / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007408/1.465, allocations: 307.4 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/1.465, allocations: 0 / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/1.465, allocations: 0 / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/1.465, allocations: 8 kB / 1.025 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003263/1.468, allocations: 1.379 MB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/1.469, allocations: 242.2 kB / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/1.469, allocations: 159.2 kB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-05/1.469, allocations: 4.234 kB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/1.47, allocations: 38.55 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=27): time 2.836e-06/1.47, allocations: 0 / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27): time 0.00221/1.472, allocations: 389.3 kB / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.472, allocations: 55.41 kB / 1.027 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/1.472, allocations: 253 kB / 1.028 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/1.472, allocations: 25.7 kB / 1.028 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/1.473, allocations: 188.9 kB / 1.028 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/1.473, allocations: 93.28 kB / 1.028 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/1.473, allocations: 0 / 1.028 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.473, allocations: 336.9 kB / 1.028 GB, free: 9.406 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/1.473, allocations: 77.36 kB / 1.028 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004252/1.474, allocations: 140.7 kB / 1.029 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/1.474, allocations: 100.7 kB / 1.029 GB, free: 9.164 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.474, allocations: 3.938 kB / 1.029 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001897/1.476, allocations: 425.4 kB / 1.029 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002667/1.476, allocations: 0.5262 MB / 1.03 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/1.476, allocations: 0 / 1.03 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/1.478, allocations: 174.9 kB / 1.03 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/1.478, allocations: 43.91 kB / 1.03 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/1.479, allocations: 0.8264 MB / 1.031 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/1.48, allocations: 31.83 kB / 1.031 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/1.48, allocations: 11.44 kB / 1.031 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.48, allocations: 8.062 kB / 1.031 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001672/1.482, allocations: 359.2 kB / 1.031 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.482, allocations: 0 / 1.031 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/1.483, allocations: 179.3 kB / 1.031 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/1.484, allocations: 39.92 kB / 1.031 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005098/1.489, allocations: 2.234 MB / 1.033 GB, free: 4.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006095/1.489, allocations: 31.67 kB / 1.033 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/1.489, allocations: 15.19 kB / 1.033 GB, free: 4.824 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001665/1.49, allocations: 109 kB / 1.034 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/1.49, allocations: 31.53 kB / 1.034 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/1.49, allocations: 42.8 kB / 1.034 GB, free: 4.656 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.49, allocations: 7.984 kB / 1.034 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.49, allocations: 4 kB / 1.034 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.49, allocations: 0 / 1.034 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/1.491, allocations: 351.3 kB / 1.034 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.491, allocations: 3.984 kB / 1.034 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/1.491, allocations: 35.92 kB / 1.034 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/1.492, allocations: 171.9 kB / 1.034 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/1.492, allocations: 0 / 1.034 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/1.497, allocations: 2.218 MB / 1.036 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.497, allocations: 7.875 kB / 1.036 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001812/1.499, allocations: 480.5 kB / 1.037 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001876/1.501, allocations: 0.8531 MB / 1.038 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/1.501, allocations: 132.4 kB / 1.038 GB, free: 0.8516 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/1.501, allocations: 4 kB / 1.038 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/1.502, allocations: 15.98 kB / 1.038 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/1.502, allocations: 15.39 kB / 1.038 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/1.502, allocations: 4 kB / 1.038 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003296/1.502, allocations: 198.4 kB / 1.038 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005063/1.507, allocations: 203.3 kB / 1.038 GB, free: 472 kB / 0.6511 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 (11): * Single equations (assignments): 10 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003773/1.508, allocations: 110.3 kB / 1.038 GB, free: 356 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002853/1.511, allocations: 0.5001 MB / 1.039 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.511, allocations: 4 kB / 1.039 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/1.512, allocations: 249 kB / 1.039 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009597/1.513, allocations: 62.81 kB / 1.039 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/1.516, allocations: 493.6 kB / 1.04 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009095/1.517, allocations: 0.8268 MB / 1.04 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of SimCode: time 1.392e-06/1.517, allocations: 0 / 1.04 GB, free: 14.38 MB / 0.6667 GB