Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.3-maint.7.0.x/package.mo): time 1.271/1.271, allocations: 249.4 MB / 256.7 MB, free: 7.012 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.001046/0.001046, allocations: 192.7 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.113/1.113, allocations: 205.2 MB / 0.5667 GB, free: 15.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008901/0.0008899, allocations: 93.8 kB / 0.671 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3361/0.337, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.5134, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.258/4.772, allocations: 2.192 GB / 3.076 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/4.772, allocations: 93.38 kB / 3.076 GB, free: 212 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.1916/4.963, allocations: 94.19 MB / 3.168 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/4.964, allocations: 8 kB / 3.168 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009357/4.964, allocations: 261.8 kB / 3.169 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/4.966, allocations: 0.7754 MB / 3.169 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/4.966, allocations: 44 kB / 3.169 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/4.966, allocations: 76 kB / 3.17 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001771/4.967, allocations: 1.337 MB / 3.171 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/4.969, allocations: 1.156 MB / 3.172 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/4.969, allocations: 0 / 3.172 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.489e-05/4.969, allocations: 7.906 kB / 3.172 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/4.969, allocations: 35.94 kB / 3.172 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004775/4.974, allocations: 3.746 MB / 3.176 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/4.975, allocations: 0.8549 MB / 3.177 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004377/4.976, allocations: 351.8 kB / 3.177 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.104e-05/4.976, allocations: 40.92 kB / 3.177 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006486/4.976, allocations: 0.5186 MB / 3.177 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 2.725e-06/4.976, allocations: 0 / 3.177 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.001857/4.978, allocations: 0.9013 MB / 3.178 GB, free: 107 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/4.978, allocations: 248.3 kB / 3.179 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006371/4.979, allocations: 0.6093 MB / 3.179 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/4.979, allocations: 29.7 kB / 3.179 GB, free: 106 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/4.979, allocations: 471.4 kB / 3.18 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/4.979, allocations: 327 kB / 3.18 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/4.98, allocations: 0 / 3.18 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001126/4.98, allocations: 398.6 kB / 3.18 GB, free: 104.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/4.98, allocations: 297.9 kB / 3.181 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/4.981, allocations: 429.5 kB / 3.181 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/4.981, allocations: 366.8 kB / 3.181 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/4.981, allocations: 4 kB / 3.181 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001756/4.983, allocations: 0.9522 MB / 3.182 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/4.983, allocations: 4 kB / 3.182 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/4.983, allocations: 8.062 kB / 3.182 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/4.983, allocations: 88.77 kB / 3.182 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009156/4.984, allocations: 219.6 kB / 3.183 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/4.986, allocations: 1.457 MB / 3.184 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/4.987, allocations: 87.28 kB / 3.184 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.657e-05/4.987, allocations: 39.97 kB / 3.184 GB, free: 100.8 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 (116): * Single equations (assignments): 115 * 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.0001772/4.987, allocations: 127.2 kB / 3.184 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/4.987, allocations: 98.78 kB / 3.184 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/4.99, allocations: 1.315 MB / 3.186 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/4.99, allocations: 12 kB / 3.186 GB, free: 99.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/4.99, allocations: 0 / 3.186 GB, free: 99.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/4.99, allocations: 7.969 kB / 3.186 GB, free: 99.19 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/4.993, allocations: 2.343 MB / 3.188 GB, free: 96.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/4.993, allocations: 4 kB / 3.188 GB, free: 96.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007826/4.994, allocations: 191.7 kB / 3.188 GB, free: 96.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005001/4.995, allocations: 88.78 kB / 3.188 GB, free: 96.51 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/4.995, allocations: 15.98 kB / 3.188 GB, free: 96.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/4.996, allocations: 1.504 MB / 3.19 GB, free: 94.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/4.996, allocations: 0 / 3.19 GB, free: 94.87 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001627/4.998, allocations: 1.053 MB / 3.191 GB, free: 93.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001799/5, allocations: 1.475 MB / 3.192 GB, free: 92.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/5, allocations: 347.3 kB / 3.192 GB, free: 91.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/5, allocations: 11.92 kB / 3.192 GB, free: 91.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006958/5.001, allocations: 51.95 kB / 3.193 GB, free: 91.88 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/5.001, allocations: 68.89 kB / 3.193 GB, free: 91.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/5.001, allocations: 43.97 kB / 3.193 GB, free: 91.77 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005491/5.002, allocations: 0.5109 MB / 3.193 GB, free: 91.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001872/5.004, allocations: 478.4 kB / 3.194 GB, free: 90.8 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 (115): * Single equations (assignments): 112 * 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.001463/5.005, allocations: 1.001 MB / 3.195 GB, free: 89.85 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001444/5.007, allocations: 0.897 MB / 3.195 GB, free: 88.94 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/5.007, allocations: 12.06 kB / 3.195 GB, free: 88.93 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007225/5.007, allocations: 0.5598 MB / 3.196 GB, free: 88.36 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009676/5.008, allocations: 223.8 kB / 3.196 GB, free: 88.14 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004156/5.012, allocations: 1.829 MB / 3.198 GB, free: 86.27 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008901/5.013, allocations: 1.333 MB / 3.199 GB, free: 84.91 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/5.013, allocations: 0 / 3.199 GB, free: 84.91 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)