Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.329/2.329, allocations: 248.6 MB / 255.9 MB, free: 1.141 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 173.3 kB / 315.1 MB, free: 9.574 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.1 MB / 0.5658 GB, free: 14.03 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001289/0.001288, allocations: 89.47 kB / 0.6699 GB, free: 51.92 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2733/0.2746, allocations: 112.4 MB / 0.7797 GB, free: 10.62 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.5357, allocations: 106.2 MB / 0.8835 GB, free: 272 kB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.04/6.576, allocations: 2.189 GB / 3.072 GB, free: 150.9 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/6.577, allocations: 83 kB / 3.072 GB, free: 150.9 MB / 0.8777 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.402/6.979, allocations: 92.21 MB / 3.162 GB, free: 67.85 MB / 0.8777 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/6.979, allocations: 8 kB / 3.162 GB, free: 67.84 MB / 0.8777 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/6.982, allocations: 393.3 kB / 3.163 GB, free: 67.46 MB / 0.8777 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/6.985, allocations: 1.019 MB / 3.164 GB, free: 66.38 MB / 0.8777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.711e-05/6.985, allocations: 47.91 kB / 3.164 GB, free: 66.34 MB / 0.8777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/6.986, allocations: 76 kB / 3.164 GB, free: 66.26 MB / 0.8777 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004759/6.99, allocations: 1.867 MB / 3.166 GB, free: 64.39 MB / 0.8777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00517/6.996, allocations: 1.264 MB / 3.167 GB, free: 63.04 MB / 0.8777 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.529e-05/6.996, allocations: 0 / 3.167 GB, free: 63.04 MB / 0.8777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003582/6.996, allocations: 4 kB / 3.167 GB, free: 63.04 MB / 0.8777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/6.996, allocations: 32 kB / 3.167 GB, free: 63 MB / 0.8777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0146/7.011, allocations: 4.228 MB / 3.171 GB, free: 58.7 MB / 0.8777 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/7.014, allocations: 1.269 MB / 3.172 GB, free: 57.41 MB / 0.8777 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/7.016, allocations: 475.4 kB / 3.173 GB, free: 56.95 MB / 0.8777 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/7.016, allocations: 57.22 kB / 3.173 GB, free: 56.89 MB / 0.8777 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001777/7.018, allocations: 0.6928 MB / 3.174 GB, free: 56.18 MB / 0.8777 GB Notification: Performance of pre-optimization done (n=136): time 7.003e-06/7.018, allocations: 0 / 3.174 GB, free: 56.18 MB / 0.8777 GB Notification: Performance of matching and sorting (n=136): time 0.005372/7.023, allocations: 1.24 MB / 3.175 GB, free: 54.92 MB / 0.8777 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002201/7.024, allocations: 466.2 kB / 3.175 GB, free: 54.36 MB / 0.8777 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/7.028, allocations: 0.9142 MB / 3.176 GB, free: 53.43 MB / 0.8777 GB Notification: Performance of collectPreVariables (initialization): time 0.0006028/7.028, allocations: 29.7 kB / 3.176 GB, free: 53.39 MB / 0.8777 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007655/7.029, allocations: 436.7 kB / 3.177 GB, free: 52.96 MB / 0.8777 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009098/7.03, allocations: 429.5 kB / 3.177 GB, free: 52.54 MB / 0.8777 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/7.03, allocations: 0 / 3.177 GB, free: 52.54 MB / 0.8777 GB Notification: Performance of setup shared object (initialization): time 0.0001546/7.03, allocations: 353.9 kB / 3.177 GB, free: 52.18 MB / 0.8777 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/7.032, allocations: 374.5 kB / 3.178 GB, free: 51.82 MB / 0.8777 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/7.035, allocations: 0.5843 MB / 3.178 GB, free: 51.16 MB / 0.8777 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/7.037, allocations: 491.4 kB / 3.179 GB, free: 50.68 MB / 0.8777 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/7.037, allocations: 0 / 3.179 GB, free: 50.68 MB / 0.8777 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005612/7.043, allocations: 1.271 MB / 3.18 GB, free: 49.4 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/7.043, allocations: 7.406 kB / 3.18 GB, free: 49.39 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/7.043, allocations: 4 kB / 3.18 GB, free: 49.39 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/7.045, allocations: 161.6 kB / 3.18 GB, free: 49.23 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/7.047, allocations: 279.5 kB / 3.18 GB, free: 48.95 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005315/7.053, allocations: 2.925 MB / 3.183 GB, free: 45.78 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/7.055, allocations: 131.1 kB / 3.183 GB, free: 45.65 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/7.055, allocations: 55.97 kB / 3.183 GB, free: 45.6 MB / 0.8777 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004746/7.056, allocations: 133 kB / 3.183 GB, free: 45.46 MB / 0.8777 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000552/7.056, allocations: 142.3 kB / 3.184 GB, free: 45.32 MB / 0.8777 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008509/7.065, allocations: 1.881 MB / 3.185 GB, free: 43.44 MB / 0.8777 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/7.065, allocations: 20 kB / 3.185 GB, free: 43.42 MB / 0.8777 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/7.065, allocations: 0 / 3.185 GB, free: 43.42 MB / 0.8777 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.078e-05/7.065, allocations: 7.969 kB / 3.185 GB, free: 43.41 MB / 0.8777 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/7.068, allocations: 1.319 MB / 3.187 GB, free: 42.06 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/7.068, allocations: 3.938 kB / 3.187 GB, free: 42.06 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003516/7.072, allocations: 279.6 kB / 3.187 GB, free: 41.79 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/7.075, allocations: 173.5 kB / 3.187 GB, free: 41.61 MB / 0.8777 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005354/7.075, allocations: 31.97 kB / 3.187 GB, free: 41.58 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008421/7.084, allocations: 2.968 MB / 3.19 GB, free: 38.37 MB / 0.8777 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.659e-06/7.084, allocations: 3.938 kB / 3.19 GB, free: 38.36 MB / 0.8777 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008385/7.092, allocations: 1.456 MB / 3.192 GB, free: 36.88 MB / 0.8777 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008582/7.101, allocations: 1.886 MB / 3.193 GB, free: 34.95 MB / 0.8777 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/7.102, allocations: 466.7 kB / 3.194 GB, free: 34.47 MB / 0.8777 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004417/7.103, allocations: 17.42 kB / 3.194 GB, free: 34.46 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/7.105, allocations: 119.9 kB / 3.194 GB, free: 34.34 MB / 0.8777 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002692/7.105, allocations: 101.4 kB / 3.194 GB, free: 34.24 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/7.106, allocations: 67.95 kB / 3.194 GB, free: 34.17 MB / 0.8777 GB Notification: Performance of sort global known variables: time 0.001436/7.107, allocations: 0.7075 MB / 3.195 GB, free: 33.46 MB / 0.8777 GB Notification: Performance of remove unused functions: time 0.003255/7.11, allocations: 0.5455 MB / 3.195 GB, free: 32.91 MB / 0.8777 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00309/7.113, allocations: 1.085 MB / 3.196 GB, free: 31.98 MB / 0.8777 GB Notification: Performance of simCode: created initialization part: time 0.00507/7.119, allocations: 1.273 MB / 3.198 GB, free: 30.7 MB / 0.8777 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/7.119, allocations: 0 / 3.198 GB, free: 30.7 MB / 0.8777 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/7.121, allocations: 0.8643 MB / 3.199 GB, free: 29.81 MB / 0.8777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004113/7.125, allocations: 407.2 kB / 3.199 GB, free: 29.41 MB / 0.8777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/7.138, allocations: 2.543 MB / 3.201 GB, free: 26.82 MB / 0.8777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002702/7.141, allocations: 1.511 MB / 3.203 GB, free: 25.28 MB / 0.8777 GB Notification: Performance of SimCode: time 2.175e-06/7.141, allocations: 0 / 3.203 GB, free: 25.28 MB / 0.8777 GB