Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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 8.0.1-maint.8.0.x/package.mo): time 1.305/1.305, allocations: 285.5 MB / 292.8 MB, free: 0.7188 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009449/0.0009448, allocations: 178.9 kB / 361.1 MB, free: 15.26 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9998/0.9998, allocations: 205.1 MB / 0.6195 GB, free: 5.844 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007669/0.0007669, allocations: 92.05 kB / 0.7325 GB, free: 47.18 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.1694/0.1702, allocations: 121.5 MB / 0.8512 GB, free: 12.66 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.5977, allocations: 115.3 MB / 0.9637 GB, free: 85.6 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.662/3.26, allocations: 2.071 GB / 3.035 GB, free: 57.8 MB / 0.9402 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/3.26, allocations: 96.11 kB / 3.035 GB, free: 57.71 MB / 0.9402 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.3863/3.646, allocations: 59.1 MB / 3.092 GB, free: 310.4 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/3.646, allocations: 7.25 kB / 3.092 GB, free: 310.4 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007796/3.647, allocations: 192.8 kB / 3.093 GB, free: 310.3 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/3.648, allocations: 0.5992 MB / 3.093 GB, free: 310.1 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/3.648, allocations: 28.09 kB / 3.093 GB, free: 310.1 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/3.648, allocations: 40.25 kB / 3.093 GB, free: 310.1 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001086/3.649, allocations: 0.9617 MB / 3.094 GB, free: 310.1 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008406/3.65, allocations: 0.6872 MB / 3.095 GB, free: 309.9 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/3.65, allocations: 3.891 kB / 3.095 GB, free: 309.9 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/3.65, allocations: 3.875 kB / 3.095 GB, free: 309.9 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/3.65, allocations: 24.53 kB / 3.095 GB, free: 309.9 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/3.653, allocations: 2.197 MB / 3.097 GB, free: 309.3 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/3.654, allocations: 0.7045 MB / 3.098 GB, free: 309.1 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/3.654, allocations: 234.6 kB / 3.098 GB, free: 309.1 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 6.038e-05/3.654, allocations: 36.22 kB / 3.098 GB, free: 309.1 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/3.654, allocations: 364.2 kB / 3.098 GB, free: 309 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=70): time 1.894e-06/3.654, allocations: 0 / 3.098 GB, free: 309 MB / 0.9402 GB Notification: Performance of matching and sorting (n=70): time 0.001237/3.656, allocations: 0.6155 MB / 3.099 GB, free: 309 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/3.656, allocations: 242.1 kB / 3.099 GB, free: 308.7 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/3.656, allocations: 0.4934 MB / 3.1 GB, free: 308.6 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/3.656, allocations: 25.7 kB / 3.1 GB, free: 308.5 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/3.656, allocations: 279.6 kB / 3.1 GB, free: 308.4 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/3.656, allocations: 223 kB / 3.1 GB, free: 308.3 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/3.656, allocations: 3.75 kB / 3.1 GB, free: 308.3 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/3.656, allocations: 371.5 kB / 3.1 GB, free: 308 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/3.657, allocations: 184.6 kB / 3.101 GB, free: 308 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/3.657, allocations: 281.3 kB / 3.101 GB, free: 307.9 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/3.657, allocations: 232.3 kB / 3.101 GB, free: 307.9 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/3.657, allocations: 3.969 kB / 3.101 GB, free: 307.9 MB / 0.9402 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001163/3.658, allocations: 0.6225 MB / 3.102 GB, free: 307.8 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/3.658, allocations: 4.594 kB / 3.102 GB, free: 307.8 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/3.658, allocations: 5.438 kB / 3.102 GB, free: 307.8 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/3.659, allocations: 82.38 kB / 3.102 GB, free: 307.8 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/3.66, allocations: 137.6 kB / 3.102 GB, free: 307.8 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/3.661, allocations: 1.453 MB / 3.103 GB, free: 306.5 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/3.661, allocations: 70.84 kB / 3.103 GB, free: 306.5 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/3.661, allocations: 23.56 kB / 3.103 GB, free: 306.5 MB / 0.9402 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 (72): * Single equations (assignments): 71 * 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.0001189/3.662, allocations: 129.8 kB / 3.104 GB, free: 306.4 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/3.662, allocations: 69.62 kB / 3.104 GB, free: 306.4 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/3.663, allocations: 0.8816 MB / 3.105 GB, free: 306.3 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/3.663, allocations: 10.69 kB / 3.105 GB, free: 306.3 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/3.663, allocations: 7.5 kB / 3.105 GB, free: 306.3 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/3.663, allocations: 6.234 kB / 3.105 GB, free: 306.3 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/3.666, allocations: 1.645 MB / 3.106 GB, free: 306 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/3.666, allocations: 0 / 3.106 GB, free: 306 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/3.666, allocations: 142.1 kB / 3.106 GB, free: 306 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/3.667, allocations: 84.78 kB / 3.106 GB, free: 306 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/3.667, allocations: 13.41 kB / 3.106 GB, free: 306 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/3.668, allocations: 1.473 MB / 3.108 GB, free: 304.8 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/3.668, allocations: 6.562 kB / 3.108 GB, free: 304.8 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001333/3.669, allocations: 0.7953 MB / 3.109 GB, free: 304.6 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001364/3.671, allocations: 1.196 MB / 3.11 GB, free: 304 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/3.671, allocations: 269.2 kB / 3.11 GB, free: 303.8 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/3.671, allocations: 3.656 kB / 3.11 GB, free: 303.8 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/3.672, allocations: 59.38 kB / 3.11 GB, free: 303.8 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/3.672, allocations: 49.39 kB / 3.11 GB, free: 303.8 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/3.672, allocations: 31.78 kB / 3.11 GB, free: 303.8 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.0003825/3.672, allocations: 398.4 kB / 3.111 GB, free: 303.8 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.001443/3.674, allocations: 368.2 kB / 3.111 GB, free: 303.7 MB / 0.9402 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 (81): * Single equations (assignments): 78 * 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.001274/3.675, allocations: 1.013 MB / 3.112 GB, free: 303.5 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.0009637/3.676, allocations: 0.6257 MB / 3.113 GB, free: 303.4 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/3.676, allocations: 0 / 3.113 GB, free: 303.4 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.0005846/3.677, allocations: 434.8 kB / 3.113 GB, free: 303.3 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008671/3.678, allocations: 219.4 kB / 3.113 GB, free: 303.3 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/3.681, allocations: 1.292 MB / 3.114 GB, free: 303 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006192/3.681, allocations: 1.113 MB / 3.115 GB, free: 302.3 MB / 0.9402 GB Notification: Performance of SimCode: time 3e-07/3.681, allocations: 0 / 3.115 GB, free: 302.3 MB / 0.9402 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)