Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.DecemberToJanuary,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.355/2.355, allocations: 248.6 MB / 255.9 MB, free: 7.156 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.001688/0.001688, allocations: 188.6 kB / 315.1 MB, free: 4.262 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.063/2.063, allocations: 205.1 MB / 0.5658 GB, free: 320 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.001324/0.001324, allocations: 84.95 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5523/0.5537, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.7905, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.993/6.784, allocations: 2.19 GB / 3.073 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004733/6.784, allocations: 88.17 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.1524/6.937, allocations: 29.52 MB / 3.102 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/6.937, allocations: 8 kB / 3.102 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005619/6.937, allocations: 102.9 kB / 3.102 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/6.939, allocations: 0.559 MB / 3.103 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.979e-05/6.939, allocations: 20 kB / 3.103 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/6.939, allocations: 39.98 kB / 3.103 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001975/6.941, allocations: 0.8649 MB / 3.104 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/6.943, allocations: 0.6036 MB / 3.104 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/6.943, allocations: 0 / 3.104 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/6.943, allocations: 4 kB / 3.104 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/6.943, allocations: 16 kB / 3.104 GB, free: 152 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005489/6.948, allocations: 2.238 MB / 3.106 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/6.95, allocations: 0.5554 MB / 3.107 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/6.95, allocations: 200.5 kB / 3.107 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/6.95, allocations: 24.42 kB / 3.107 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006738/6.951, allocations: 317.1 kB / 3.107 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=61): time 3.586e-06/6.951, allocations: 0 / 3.107 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=61): time 0.001442/6.952, allocations: 496.5 kB / 3.108 GB, free: 149 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/6.953, allocations: 299 kB / 3.108 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/6.954, allocations: 0.4927 MB / 3.109 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001557/6.954, allocations: 29.7 kB / 3.109 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/6.954, allocations: 260.3 kB / 3.109 GB, free: 148 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/6.955, allocations: 186.4 kB / 3.109 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/6.955, allocations: 0 / 3.109 GB, free: 147.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000236/6.955, allocations: 375.2 kB / 3.11 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/6.956, allocations: 150.1 kB / 3.11 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009565/6.957, allocations: 281.7 kB / 3.11 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/6.957, allocations: 199.1 kB / 3.11 GB, free: 147 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/6.957, allocations: 0 / 3.11 GB, free: 147 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001437/6.959, allocations: 0.5132 MB / 3.111 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/6.959, allocations: 8 kB / 3.111 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/6.959, allocations: 0 / 3.111 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/6.959, allocations: 4 kB / 3.111 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009186/6.96, allocations: 111.5 kB / 3.111 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/6.96, allocations: 8.047 kB / 3.111 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008361/6.961, allocations: 67.56 kB / 3.111 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/6.961, allocations: 23.55 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.0001981/6.961, allocations: 112.9 kB / 3.111 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/6.961, allocations: 67.16 kB / 3.111 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/6.964, allocations: 0.7374 MB / 3.112 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/6.964, allocations: 4 kB / 3.112 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/6.964, allocations: 4 kB / 3.112 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/6.964, allocations: 7.891 kB / 3.112 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/6.965, allocations: 0.8256 MB / 3.113 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/6.965, allocations: 4.031 kB / 3.113 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009384/6.966, allocations: 118.8 kB / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/6.966, allocations: 4 kB / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/6.966, allocations: 15.67 kB / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/6.966, allocations: 0 / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/6.966, allocations: 4 kB / 3.113 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001539/6.968, allocations: 0.5978 MB / 3.113 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001488/6.969, allocations: 0.9827 MB / 3.114 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/6.97, allocations: 260.4 kB / 3.114 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/6.97, allocations: 0 / 3.114 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008441/6.971, allocations: 55.95 kB / 3.115 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/6.971, allocations: 44.03 kB / 3.115 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.567e-05/6.971, allocations: 31.52 kB / 3.115 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007758/6.972, allocations: 400.3 kB / 3.115 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002111/6.974, allocations: 247.8 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.001343/6.976, allocations: 473.8 kB / 3.116 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001319/6.977, allocations: 445.8 kB / 3.116 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/6.977, allocations: 4.75 kB / 3.116 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006407/6.978, allocations: 267 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.001819/6.979, allocations: 184.5 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.003064/6.982, allocations: 0.9862 MB / 3.118 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/6.984, allocations: 1.065 MB / 3.119 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.633e-06/6.984, allocations: 0 / 3.119 GB, free: 139.5 MB / 0.8698 GB