Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.327/2.327, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.001699/0.001699, allocations: 191.9 kB / 315.1 MB, free: 4.301 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.072/2.072, allocations: 205.1 MB / 0.5658 GB, free: 396 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.001306/0.001306, allocations: 99.31 kB / 0.67 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5427/0.544, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.773, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.348/7.121, allocations: 2.192 GB / 3.075 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/7.122, allocations: 95.25 kB / 3.075 GB, free: 165.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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.3015/7.423, allocations: 69.74 MB / 3.143 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/7.423, allocations: 8 kB / 3.143 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/7.425, allocations: 214.4 kB / 3.144 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/7.427, allocations: 0.6425 MB / 3.144 GB, free: 102 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/7.427, allocations: 32 kB / 3.144 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/7.427, allocations: 52 kB / 3.144 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00268/7.43, allocations: 1.05 MB / 3.145 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/7.432, allocations: 0.8129 MB / 3.146 GB, free: 99.97 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/7.432, allocations: 0 / 3.146 GB, free: 99.97 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/7.432, allocations: 0 / 3.146 GB, free: 99.97 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/7.432, allocations: 24 kB / 3.146 GB, free: 99.95 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006956/7.439, allocations: 2.571 MB / 3.149 GB, free: 97.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/7.441, allocations: 0.7019 MB / 3.149 GB, free: 96.58 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/7.442, allocations: 266.8 kB / 3.15 GB, free: 96.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/7.442, allocations: 32.59 kB / 3.15 GB, free: 96.29 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009128/7.443, allocations: 406.1 kB / 3.15 GB, free: 95.87 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=80): time 3.557e-06/7.443, allocations: 3.938 kB / 3.15 GB, free: 95.87 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80): time 0.004324/7.447, allocations: 0.7224 MB / 3.151 GB, free: 95.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/7.448, allocations: 244 kB / 3.151 GB, free: 94.84 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/7.45, allocations: 0.5219 MB / 3.151 GB, free: 94.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002774/7.45, allocations: 25.7 kB / 3.151 GB, free: 94.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/7.45, allocations: 332 kB / 3.152 GB, free: 93.95 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000517/7.451, allocations: 248.2 kB / 3.152 GB, free: 93.71 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/7.451, allocations: 0 / 3.152 GB, free: 93.71 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000243/7.451, allocations: 386.8 kB / 3.152 GB, free: 93.32 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009683/7.452, allocations: 205.5 kB / 3.153 GB, free: 93.12 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/7.454, allocations: 315.5 kB / 3.153 GB, free: 92.78 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/7.455, allocations: 304.4 kB / 3.153 GB, free: 92.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/7.456, allocations: 7.938 kB / 3.153 GB, free: 92.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004761/7.46, allocations: 0.7484 MB / 3.154 GB, free: 91.72 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/7.46, allocations: 8 kB / 3.154 GB, free: 91.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/7.46, allocations: 0 / 3.154 GB, free: 91.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/7.462, allocations: 80.84 kB / 3.154 GB, free: 91.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/7.464, allocations: 155.8 kB / 3.154 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/7.468, allocations: 1.469 MB / 3.156 GB, free: 89.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/7.47, allocations: 67.52 kB / 3.156 GB, free: 89.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/7.47, allocations: 31.97 kB / 3.156 GB, free: 89.79 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003737/7.471, allocations: 112.9 kB / 3.156 GB, free: 89.67 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004048/7.471, allocations: 75.06 kB / 3.156 GB, free: 89.59 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006803/7.478, allocations: 1.07 MB / 3.157 GB, free: 88.52 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/7.478, allocations: 8 kB / 3.157 GB, free: 88.51 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/7.478, allocations: 0 / 3.157 GB, free: 88.51 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.682e-05/7.478, allocations: 3.984 kB / 3.157 GB, free: 88.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008643/7.487, allocations: 1.854 MB / 3.159 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/7.487, allocations: 0 / 3.159 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/7.489, allocations: 171.7 kB / 3.159 GB, free: 86.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/7.49, allocations: 88.72 kB / 3.159 GB, free: 86.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002634/7.49, allocations: 15.98 kB / 3.159 GB, free: 86.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/7.494, allocations: 1.48 MB / 3.16 GB, free: 84.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/7.494, allocations: 0 / 3.16 GB, free: 84.73 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004699/7.499, allocations: 0.9102 MB / 3.161 GB, free: 83.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004784/7.504, allocations: 1.325 MB / 3.163 GB, free: 82.45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/7.505, allocations: 287.8 kB / 3.163 GB, free: 82.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/7.505, allocations: 11.89 kB / 3.163 GB, free: 82.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/7.507, allocations: 55.95 kB / 3.163 GB, free: 82.08 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003056/7.508, allocations: 56.69 kB / 3.163 GB, free: 82.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/7.508, allocations: 35.98 kB / 3.163 GB, free: 81.99 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0012/7.509, allocations: 431.1 kB / 3.163 GB, free: 81.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004348/7.513, allocations: 422.9 kB / 3.164 GB, free: 81.15 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 91 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003066/7.516, allocations: 1.033 MB / 3.165 GB, free: 80.22 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003/7.52, allocations: 0.7059 MB / 3.166 GB, free: 79.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/7.52, allocations: 0 / 3.166 GB, free: 79.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/7.521, allocations: 472.6 kB / 3.166 GB, free: 79.04 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/7.524, allocations: 206.2 kB / 3.166 GB, free: 78.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/7.532, allocations: 1.448 MB / 3.168 GB, free: 77.36 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/7.533, allocations: 1.174 MB / 3.169 GB, free: 76.16 MB / 0.8698 GB Notification: Performance of SimCode: time 1.253e-06/7.533, allocations: 0 / 3.169 GB, free: 76.16 MB / 0.8698 GB