Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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_usingTwoYearData,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",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.314/2.314, allocations: 248.6 MB / 255.9 MB, free: 7.211 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.001664/0.001663, allocations: 187.6 kB / 315.1 MB, free: 4.281 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.16/2.16, allocations: 205.1 MB / 0.5658 GB, free: 404 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.001892/0.001891, allocations: 82.64 kB / 0.67 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5035/0.5054, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.7781, allocations: 106.3 MB / 0.8835 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.991/6.769, allocations: 2.19 GB / 3.073 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/6.77, allocations: 85.27 kB / 3.073 GB, free: 178.5 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.1593/6.929, allocations: 29.53 MB / 3.102 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/6.929, allocations: 8 kB / 3.102 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004767/6.929, allocations: 94.88 kB / 3.102 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/6.931, allocations: 0.5752 MB / 3.103 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/6.931, allocations: 20 kB / 3.103 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/6.931, allocations: 36 kB / 3.103 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001955/6.933, allocations: 0.8625 MB / 3.104 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/6.934, allocations: 0.5979 MB / 3.104 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/6.934, allocations: 7.938 kB / 3.104 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.312e-05/6.934, allocations: 0 / 3.104 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/6.935, allocations: 16 kB / 3.104 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/6.939, allocations: 2.23 MB / 3.106 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/6.941, allocations: 0.5561 MB / 3.107 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/6.941, allocations: 206.2 kB / 3.107 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.871e-05/6.941, allocations: 28.03 kB / 3.107 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006511/6.942, allocations: 318.6 kB / 3.107 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.497e-06/6.942, allocations: 0 / 3.107 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001406/6.943, allocations: 491.8 kB / 3.108 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/6.943, allocations: 302.8 kB / 3.108 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009607/6.944, allocations: 0.493 MB / 3.109 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.333e-05/6.944, allocations: 29.7 kB / 3.109 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/6.945, allocations: 250.8 kB / 3.109 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/6.945, allocations: 195.7 kB / 3.109 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/6.945, allocations: 0 / 3.109 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001234/6.945, allocations: 368.6 kB / 3.11 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004092/6.945, allocations: 158.1 kB / 3.11 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/6.946, allocations: 273.4 kB / 3.11 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/6.947, allocations: 213.8 kB / 3.11 GB, free: 147 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/6.947, allocations: 0 / 3.11 GB, free: 147 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001346/6.948, allocations: 0.5032 MB / 3.111 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/6.948, allocations: 8 kB / 3.111 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/6.948, allocations: 0 / 3.111 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/6.948, allocations: 4 kB / 3.111 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/6.949, allocations: 115.2 kB / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/6.949, allocations: 4.125 kB / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000774/6.95, allocations: 63.5 kB / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/6.95, allocations: 23.72 kB / 3.111 GB, free: 146.4 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.0001916/6.95, allocations: 124.7 kB / 3.111 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/6.95, allocations: 67.16 kB / 3.111 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/6.953, allocations: 0.7225 MB / 3.112 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/6.953, allocations: 8 kB / 3.112 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/6.953, allocations: 8 kB / 3.112 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/6.953, allocations: 11.89 kB / 3.112 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/6.954, allocations: 0.8267 MB / 3.113 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/6.954, allocations: 0 / 3.113 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009012/6.955, allocations: 119.2 kB / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/6.955, allocations: 4 kB / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/6.955, allocations: 19.73 kB / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/6.955, allocations: 0 / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/6.955, allocations: 4 kB / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001337/6.957, allocations: 0.5895 MB / 3.113 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001358/6.958, allocations: 0.9936 MB / 3.114 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004841/6.958, allocations: 257.3 kB / 3.114 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/6.959, allocations: 3.984 kB / 3.114 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008254/6.959, allocations: 43.97 kB / 3.115 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/6.96, allocations: 47.33 kB / 3.115 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/6.96, allocations: 27.39 kB / 3.115 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007238/6.96, allocations: 403 kB / 3.115 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001921/6.962, allocations: 240.4 kB / 3.115 GB, free: 142.6 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.00135/6.964, allocations: 481.5 kB / 3.116 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0012/6.965, allocations: 443.1 kB / 3.116 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/6.965, allocations: 0 / 3.116 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000629/6.966, allocations: 267.6 kB / 3.116 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/6.969, allocations: 188.7 kB / 3.117 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/6.972, allocations: 0.9908 MB / 3.118 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009745/6.973, allocations: 1.059 MB / 3.119 GB, free: 139.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.252e-06/6.973, allocations: 0 / 3.119 GB, free: 139.6 MB / 0.8698 GB