Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart",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.298/2.298, allocations: 248.6 MB / 255.9 MB, free: 7.215 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.00169/0.001689, allocations: 181.2 kB / 315.1 MB, free: 4.266 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.164/2.164, allocations: 205.1 MB / 0.5658 GB, free: 308 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.00133/0.001329, allocations: 88.97 kB / 0.67 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5064/0.5078, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.752, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.051/6.803, allocations: 2.19 GB / 3.073 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/6.803, allocations: 83.08 kB / 3.073 GB, free: 178.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.1578/6.961, allocations: 29.55 MB / 3.102 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/6.961, allocations: 8 kB / 3.102 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/6.961, allocations: 94.88 kB / 3.102 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/6.963, allocations: 0.5636 MB / 3.103 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.996e-05/6.963, allocations: 20 kB / 3.103 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/6.963, allocations: 36 kB / 3.103 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001941/6.965, allocations: 0.8718 MB / 3.104 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/6.966, allocations: 0.6003 MB / 3.104 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/6.966, allocations: 0 / 3.104 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/6.966, allocations: 3.984 kB / 3.104 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/6.967, allocations: 16 kB / 3.104 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004895/6.971, allocations: 2.23 MB / 3.106 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/6.973, allocations: 0.5583 MB / 3.107 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/6.973, allocations: 208 kB / 3.107 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.924e-05/6.973, allocations: 28.52 kB / 3.107 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006478/6.974, allocations: 309.4 kB / 3.108 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.396e-06/6.974, allocations: 4 kB / 3.108 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001437/6.976, allocations: 499.5 kB / 3.108 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/6.976, allocations: 295.2 kB / 3.108 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/6.977, allocations: 0.4907 MB / 3.109 GB, free: 148 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.898e-05/6.977, allocations: 29.69 kB / 3.109 GB, free: 148 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/6.977, allocations: 255.5 kB / 3.109 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/6.977, allocations: 187.2 kB / 3.109 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/6.977, allocations: 0 / 3.109 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001318/6.977, allocations: 375.5 kB / 3.11 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/6.978, allocations: 157.4 kB / 3.11 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/6.978, allocations: 275.6 kB / 3.11 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/6.979, allocations: 204.2 kB / 3.11 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/6.979, allocations: 0 / 3.11 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001413/6.98, allocations: 0.5034 MB / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/6.98, allocations: 7.984 kB / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/6.98, allocations: 4 kB / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/6.981, allocations: 12.11 kB / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000982/6.982, allocations: 111.4 kB / 3.111 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/6.982, allocations: 8.047 kB / 3.111 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008905/6.982, allocations: 67.44 kB / 3.111 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/6.983, allocations: 31.23 kB / 3.111 GB, free: 146.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002119/6.983, allocations: 108.9 kB / 3.111 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/6.983, allocations: 67.16 kB / 3.111 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/6.985, allocations: 0.7308 MB / 3.112 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/6.985, allocations: 8 kB / 3.112 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/6.986, allocations: 0 / 3.112 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/6.986, allocations: 11.89 kB / 3.112 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/6.987, allocations: 0.8295 MB / 3.113 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/6.987, allocations: 0 / 3.113 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009033/6.988, allocations: 119.4 kB / 3.113 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/6.988, allocations: 4 kB / 3.113 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/6.988, allocations: 15.36 kB / 3.113 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/6.988, allocations: 4.031 kB / 3.113 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/6.988, allocations: 0 / 3.113 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001431/6.99, allocations: 0.5968 MB / 3.113 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001449/6.991, allocations: 0.9878 MB / 3.114 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/6.992, allocations: 259.9 kB / 3.115 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/6.992, allocations: 0 / 3.115 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000836/6.993, allocations: 47.95 kB / 3.115 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/6.993, allocations: 48.27 kB / 3.115 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.578e-05/6.993, allocations: 27.64 kB / 3.115 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008047/6.994, allocations: 408.4 kB / 3.115 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002141/6.996, allocations: 233.8 kB / 3.115 GB, free: 142.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001581/6.998, allocations: 478.9 kB / 3.116 GB, free: 142 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001381/6.999, allocations: 441.8 kB / 3.116 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/6.999, allocations: 4 kB / 3.116 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006603/7, allocations: 267.7 kB / 3.116 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/7.002, allocations: 193.7 kB / 3.117 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/7.005, allocations: 0.9799 MB / 3.118 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/7.006, allocations: 1.068 MB / 3.119 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.363e-06/7.006, allocations: 0 / 3.119 GB, free: 139.3 MB / 0.8698 GB