Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart",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.481/2.481, allocations: 248.6 MB / 255.9 MB, free: 7.125 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.001706/0.001706, allocations: 187.4 kB / 315.1 MB, free: 4.258 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.145/2.145, allocations: 205.1 MB / 0.5658 GB, free: 360 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.001232/0.001232, allocations: 79.34 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5079/0.5091, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.7341, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.101/6.836, allocations: 2.19 GB / 3.073 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/6.836, allocations: 86.52 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.1194/6.955, allocations: 29.54 MB / 3.102 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/6.955, allocations: 16 kB / 3.102 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004663/6.956, allocations: 94.88 kB / 3.102 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/6.957, allocations: 0.5633 MB / 3.103 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/6.957, allocations: 27.86 kB / 3.103 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/6.957, allocations: 32 kB / 3.103 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002001/6.959, allocations: 0.8635 MB / 3.104 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/6.961, allocations: 0.6011 MB / 3.104 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/6.961, allocations: 0 / 3.104 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/6.961, allocations: 11.92 kB / 3.104 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/6.961, allocations: 16 kB / 3.104 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004936/6.966, allocations: 2.23 MB / 3.106 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/6.968, allocations: 0.5574 MB / 3.107 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/6.968, allocations: 203.4 kB / 3.107 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/6.968, allocations: 32.45 kB / 3.107 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006828/6.969, allocations: 313 kB / 3.108 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.707e-06/6.969, allocations: 0 / 3.108 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001473/6.97, allocations: 492.2 kB / 3.108 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/6.971, allocations: 299.1 kB / 3.108 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009909/6.972, allocations: 0.496 MB / 3.109 GB, free: 148 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/6.972, allocations: 25.7 kB / 3.109 GB, free: 148 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/6.972, allocations: 254.8 kB / 3.109 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/6.972, allocations: 196.4 kB / 3.109 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/6.972, allocations: 0 / 3.109 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001276/6.972, allocations: 369.5 kB / 3.11 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/6.973, allocations: 154.6 kB / 3.11 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/6.973, allocations: 285.3 kB / 3.11 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/6.974, allocations: 194.2 kB / 3.11 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/6.974, allocations: 0 / 3.11 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00139/6.975, allocations: 0.514 MB / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/6.975, allocations: 4 kB / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/6.975, allocations: 0 / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/6.975, allocations: 4 kB / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/6.976, allocations: 115.6 kB / 3.111 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/6.976, allocations: 3.938 kB / 3.111 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/6.977, allocations: 63.62 kB / 3.111 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-05/6.977, allocations: 24.03 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.0001897/6.977, allocations: 116.9 kB / 3.111 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/6.978, allocations: 70.91 kB / 3.111 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/6.98, allocations: 0.728 MB / 3.112 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/6.98, allocations: 8 kB / 3.112 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/6.98, allocations: 0 / 3.112 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/6.98, allocations: 3.906 kB / 3.112 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/6.982, allocations: 0.8351 MB / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/6.982, allocations: 0 / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009121/6.983, allocations: 123.4 kB / 3.113 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/6.983, allocations: 4 kB / 3.113 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/6.983, allocations: 15.42 kB / 3.113 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/6.983, allocations: 4 kB / 3.113 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/6.983, allocations: 0 / 3.113 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001457/6.984, allocations: 0.6003 MB / 3.113 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001489/6.986, allocations: 0.9899 MB / 3.114 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005375/6.986, allocations: 254 kB / 3.115 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/6.987, allocations: 7.25 kB / 3.115 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/6.987, allocations: 47.97 kB / 3.115 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/6.988, allocations: 44.02 kB / 3.115 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/6.988, allocations: 31.39 kB / 3.115 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007431/6.988, allocations: 403.2 kB / 3.115 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002012/6.99, allocations: 239.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.001357/6.992, allocations: 469.8 kB / 3.116 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001355/6.993, allocations: 446 kB / 3.116 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/6.993, allocations: 4.062 kB / 3.116 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006569/6.994, allocations: 271.6 kB / 3.116 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/6.996, allocations: 188.6 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.003138/6.999, allocations: 0.9862 MB / 3.118 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000926/7, allocations: 1.061 MB / 3.119 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/7, allocations: 0 / 3.119 GB, free: 139.3 MB / 0.8698 GB