Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.264/1.264, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.001098/0.001097, allocations: 192.3 kB / 316 MB, free: 3.496 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.401/1.401, allocations: 205.1 MB / 0.5667 GB, free: 15.65 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.0008507/0.0008507, allocations: 102.3 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4302/0.431, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.6424, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.546/5.188, allocations: 2.191 GB / 3.076 GB, free: 212 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/5.189, allocations: 91.95 kB / 3.076 GB, free: 211.9 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.1256/5.314, allocations: 59.81 MB / 3.134 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.781e-05/5.314, allocations: 8 kB / 3.134 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/5.315, allocations: 202.5 kB / 3.135 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/5.316, allocations: 0.6115 MB / 3.135 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/5.316, allocations: 27.94 kB / 3.135 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/5.316, allocations: 51.98 kB / 3.135 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00134/5.318, allocations: 0.9952 MB / 3.136 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/5.319, allocations: 0.7272 MB / 3.137 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/5.319, allocations: 4 kB / 3.137 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.188e-05/5.319, allocations: 0 / 3.137 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/5.319, allocations: 23.91 kB / 3.137 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/5.322, allocations: 2.368 MB / 3.139 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009318/5.323, allocations: 0.6611 MB / 3.14 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003144/5.323, allocations: 254.8 kB / 3.14 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.987e-05/5.323, allocations: 36.59 kB / 3.14 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004839/5.324, allocations: 386.1 kB / 3.141 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 2.044e-06/5.324, allocations: 0 / 3.141 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.001417/5.325, allocations: 0.6599 MB / 3.141 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/5.325, allocations: 240 kB / 3.141 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/5.326, allocations: 0.5061 MB / 3.142 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/5.326, allocations: 29.7 kB / 3.142 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/5.326, allocations: 296.2 kB / 3.142 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/5.326, allocations: 236.4 kB / 3.142 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/5.326, allocations: 7.938 kB / 3.142 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.099e-05/5.327, allocations: 374.8 kB / 3.143 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/5.327, allocations: 197.3 kB / 3.143 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/5.327, allocations: 302.4 kB / 3.143 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/5.327, allocations: 251.1 kB / 3.144 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/5.327, allocations: 3.938 kB / 3.144 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001337/5.329, allocations: 0.6717 MB / 3.144 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/5.329, allocations: 8 kB / 3.144 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/5.329, allocations: 0 / 3.144 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/5.329, allocations: 84.78 kB / 3.144 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/5.33, allocations: 143.8 kB / 3.144 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/5.332, allocations: 1.476 MB / 3.146 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/5.332, allocations: 63.61 kB / 3.146 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/5.332, allocations: 31.97 kB / 3.146 GB, free: 139.5 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 (80): * Single equations (assignments): 79 * 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.0001505/5.332, allocations: 116.8 kB / 3.146 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/5.333, allocations: 71.16 kB / 3.146 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/5.335, allocations: 0.9641 MB / 3.147 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/5.335, allocations: 8 kB / 3.147 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/5.335, allocations: 4 kB / 3.147 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/5.335, allocations: 3.984 kB / 3.147 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/5.337, allocations: 1.713 MB / 3.149 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/5.337, allocations: 0 / 3.149 GB, free: 136.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005887/5.338, allocations: 151.8 kB / 3.149 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004928/5.338, allocations: 84.72 kB / 3.149 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.638e-05/5.338, allocations: 19.98 kB / 3.149 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/5.34, allocations: 1.48 MB / 3.15 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/5.34, allocations: 0 / 3.15 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001314/5.341, allocations: 0.8361 MB / 3.151 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001498/5.342, allocations: 1.239 MB / 3.152 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003671/5.343, allocations: 287.8 kB / 3.153 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/5.343, allocations: 0 / 3.153 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000588/5.343, allocations: 55.95 kB / 3.153 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/5.344, allocations: 56.59 kB / 3.153 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/5.344, allocations: 31.98 kB / 3.153 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004595/5.344, allocations: 418.9 kB / 3.153 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001698/5.346, allocations: 383 kB / 3.154 GB, free: 131.3 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 (87): * Single equations (assignments): 84 * 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.001645/5.348, allocations: 1.006 MB / 3.155 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001201/5.349, allocations: 0.6702 MB / 3.155 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/5.349, allocations: 0 / 3.155 GB, free: 129.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005888/5.349, allocations: 452.6 kB / 3.156 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/5.35, allocations: 212.8 kB / 3.156 GB, free: 129 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/5.354, allocations: 1.351 MB / 3.157 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008197/5.355, allocations: 1.131 MB / 3.158 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of SimCode: time 6.32e-07/5.355, allocations: 4 kB / 3.158 GB, free: 126.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)