Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.306/2.306, allocations: 248.6 MB / 255.9 MB, free: 7.082 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.001643/0.001643, allocations: 185.3 kB / 315.1 MB, free: 4.23 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.09/2.09, allocations: 205.1 MB / 0.5658 GB, free: 248 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.001326/0.001326, allocations: 87.34 kB / 0.67 GB, free: 5.465 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4637/0.4651, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.7008, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.002/6.703, allocations: 2.193 GB / 3.076 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004512/6.703, allocations: 83.64 kB / 3.076 GB, free: 171.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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.3585/7.062, allocations: 83.85 MB / 3.158 GB, free: 94.95 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/7.062, allocations: 8 kB / 3.158 GB, free: 94.94 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/7.064, allocations: 234.1 kB / 3.158 GB, free: 94.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/7.066, allocations: 0.756 MB / 3.159 GB, free: 93.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/7.067, allocations: 80.09 kB / 3.159 GB, free: 93.83 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/7.067, allocations: 68 kB / 3.159 GB, free: 93.76 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003612/7.07, allocations: 1.242 MB / 3.16 GB, free: 92.52 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/7.074, allocations: 1.029 MB / 3.161 GB, free: 91.43 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/7.074, allocations: 11.84 kB / 3.161 GB, free: 91.41 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/7.074, allocations: 0 / 3.161 GB, free: 91.41 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/7.074, allocations: 32 kB / 3.161 GB, free: 91.38 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009706/7.084, allocations: 3.379 MB / 3.165 GB, free: 87.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/7.086, allocations: 0.7984 MB / 3.165 GB, free: 87.08 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008831/7.087, allocations: 327.2 kB / 3.166 GB, free: 86.76 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/7.087, allocations: 44.7 kB / 3.166 GB, free: 86.72 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/7.088, allocations: 487.7 kB / 3.166 GB, free: 86.22 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=93): time 4.028e-06/7.088, allocations: 0 / 3.166 GB, free: 86.22 MB / 0.8698 GB Notification: Performance of matching and sorting (n=93): time 0.003405/7.092, allocations: 0.8264 MB / 3.167 GB, free: 85.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.943e-05/7.092, allocations: 248.1 kB / 3.167 GB, free: 85.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/7.093, allocations: 0.6014 MB / 3.168 GB, free: 84.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000313/7.094, allocations: 25.7 kB / 3.168 GB, free: 84.45 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/7.094, allocations: 415.8 kB / 3.168 GB, free: 84.03 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003681/7.094, allocations: 303.5 kB / 3.169 GB, free: 83.73 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/7.095, allocations: 0 / 3.169 GB, free: 83.73 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000162/7.095, allocations: 390.8 kB / 3.169 GB, free: 83.34 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007915/7.096, allocations: 269.9 kB / 3.169 GB, free: 83.08 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/7.096, allocations: 390.4 kB / 3.17 GB, free: 82.66 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/7.097, allocations: 342.8 kB / 3.17 GB, free: 82.33 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/7.097, allocations: 0 / 3.17 GB, free: 82.33 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003343/7.101, allocations: 0.8781 MB / 3.171 GB, free: 81.44 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/7.101, allocations: 4 kB / 3.171 GB, free: 81.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/7.101, allocations: 4 kB / 3.171 GB, free: 81.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/7.102, allocations: 92.73 kB / 3.171 GB, free: 81.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/7.104, allocations: 187.8 kB / 3.171 GB, free: 81.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002908/7.107, allocations: 1.465 MB / 3.172 GB, free: 79.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/7.109, allocations: 75.45 kB / 3.173 GB, free: 79.49 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/7.109, allocations: 39.97 kB / 3.173 GB, free: 79.45 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0003661/7.109, allocations: 124.7 kB / 3.173 GB, free: 79.32 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/7.11, allocations: 90.88 kB / 3.173 GB, free: 79.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005174/7.115, allocations: 1.206 MB / 3.174 GB, free: 78.01 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/7.115, allocations: 15.94 kB / 3.174 GB, free: 78 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/7.115, allocations: 3.938 kB / 3.174 GB, free: 77.99 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/7.115, allocations: 7.969 kB / 3.174 GB, free: 77.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006664/7.122, allocations: 2.211 MB / 3.176 GB, free: 75.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/7.122, allocations: 4 kB / 3.176 GB, free: 75.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/7.123, allocations: 187.7 kB / 3.176 GB, free: 75.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009736/7.124, allocations: 80.78 kB / 3.176 GB, free: 75.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000224/7.125, allocations: 19.98 kB / 3.176 GB, free: 75.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/7.127, allocations: 1.484 MB / 3.178 GB, free: 73.83 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/7.127, allocations: 0 / 3.178 GB, free: 73.83 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003414/7.131, allocations: 1.006 MB / 3.179 GB, free: 72.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003568/7.134, allocations: 1.412 MB / 3.18 GB, free: 71.37 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/7.135, allocations: 343.4 kB / 3.181 GB, free: 71.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/7.136, allocations: 3.984 kB / 3.181 GB, free: 71.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/7.137, allocations: 63.95 kB / 3.181 GB, free: 70.95 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/7.138, allocations: 64.83 kB / 3.181 GB, free: 70.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001286/7.138, allocations: 43.97 kB / 3.181 GB, free: 70.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001026/7.139, allocations: 0.4913 MB / 3.181 GB, free: 70.36 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003019/7.142, allocations: 462.5 kB / 3.182 GB, free: 69.9 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 (107): * Single equations (assignments): 104 * 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.002341/7.144, allocations: 1.009 MB / 3.183 GB, free: 69 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002743/7.147, allocations: 0.8384 MB / 3.183 GB, free: 68.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/7.147, allocations: 3.938 kB / 3.183 GB, free: 68.14 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/7.149, allocations: 0.5366 MB / 3.184 GB, free: 67.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/7.151, allocations: 212.1 kB / 3.184 GB, free: 67.39 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007829/7.159, allocations: 1.709 MB / 3.186 GB, free: 65.64 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/7.16, allocations: 1.269 MB / 3.187 GB, free: 64.35 MB / 0.8698 GB Notification: Performance of SimCode: time 1.713e-06/7.161, allocations: 0 / 3.187 GB, free: 64.35 MB / 0.8698 GB