Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.398/1.398, allocations: 289.8 MB / 297.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 181.3 kB / 366.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.112/1.112, allocations: 205.1 MB / 0.6256 GB, free: 7.457 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008315/0.0008315, allocations: 85.61 kB / 0.7395 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2267/0.2276, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.7241, allocations: 116.3 MB / 0.9726 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.236/3.961, allocations: 2.072 GB / 3.044 GB, free: 52.75 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/3.961, allocations: 94.38 kB / 3.045 GB, free: 52.66 MB / 0.948 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.4977/4.459, allocations: 59.09 MB / 3.102 GB, free: 314.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/4.459, allocations: 10.78 kB / 3.102 GB, free: 314.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008016/4.459, allocations: 195.7 kB / 3.102 GB, free: 314.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007836/4.46, allocations: 0.5997 MB / 3.103 GB, free: 314.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/4.46, allocations: 22.59 kB / 3.103 GB, free: 314.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/4.46, allocations: 45.72 kB / 3.103 GB, free: 314.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001154/4.462, allocations: 0.9606 MB / 3.104 GB, free: 314.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/4.462, allocations: 0.6912 MB / 3.105 GB, free: 314.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/4.462, allocations: 0 / 3.105 GB, free: 314.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.96e-05/4.463, allocations: 6.859 kB / 3.105 GB, free: 314.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/4.463, allocations: 17.94 kB / 3.105 GB, free: 314.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/4.465, allocations: 2.214 MB / 3.107 GB, free: 313.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008494/4.466, allocations: 0.7019 MB / 3.108 GB, free: 313.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/4.466, allocations: 234.1 kB / 3.108 GB, free: 313.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-05/4.467, allocations: 30.78 kB / 3.108 GB, free: 313.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/4.467, allocations: 371.8 kB / 3.108 GB, free: 313.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 1.823e-06/4.467, allocations: 0 / 3.108 GB, free: 313.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001329/4.468, allocations: 0.6158 MB / 3.109 GB, free: 313.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/4.468, allocations: 242.7 kB / 3.109 GB, free: 312.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/4.469, allocations: 0.4944 MB / 3.109 GB, free: 312.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/4.469, allocations: 25.7 kB / 3.109 GB, free: 312.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/4.469, allocations: 279.7 kB / 3.11 GB, free: 312.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/4.469, allocations: 229.5 kB / 3.11 GB, free: 312.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/4.469, allocations: 0 / 3.11 GB, free: 312.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.076e-05/4.469, allocations: 372.2 kB / 3.11 GB, free: 312.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/4.47, allocations: 184.2 kB / 3.111 GB, free: 312.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/4.47, allocations: 281 kB / 3.111 GB, free: 312.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/4.47, allocations: 226.8 kB / 3.111 GB, free: 312.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/4.47, allocations: 0 / 3.111 GB, free: 312.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001249/4.471, allocations: 0.6279 MB / 3.112 GB, free: 312 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/4.472, allocations: 9.312 kB / 3.112 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/4.472, allocations: 0 / 3.112 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/4.472, allocations: 83.09 kB / 3.112 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/4.473, allocations: 133.8 kB / 3.112 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/4.474, allocations: 1.462 MB / 3.113 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005303/4.475, allocations: 60.8 kB / 3.113 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/4.475, allocations: 24.81 kB / 3.113 GB, free: 310.7 MB / 0.948 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.0001497/4.475, allocations: 121.4 kB / 3.113 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/4.475, allocations: 68.56 kB / 3.114 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/4.477, allocations: 0.8858 MB / 3.114 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/4.477, allocations: 9.031 kB / 3.114 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/4.477, allocations: 0 / 3.114 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/4.477, allocations: 6.562 kB / 3.114 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/4.479, allocations: 1.643 MB / 3.116 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/4.479, allocations: 0 / 3.116 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/4.48, allocations: 139.4 kB / 3.116 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/4.48, allocations: 83.88 kB / 3.116 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/4.48, allocations: 13.98 kB / 3.116 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/4.482, allocations: 1.482 MB / 3.118 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/4.482, allocations: 0 / 3.118 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001296/4.483, allocations: 0.7916 MB / 3.118 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00137/4.485, allocations: 1.201 MB / 3.12 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003018/4.485, allocations: 272.7 kB / 3.12 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/4.485, allocations: 0 / 3.12 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/4.486, allocations: 59.27 kB / 3.12 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/4.486, allocations: 52.06 kB / 3.12 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/4.486, allocations: 28.98 kB / 3.12 GB, free: 308 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004041/4.486, allocations: 401.6 kB / 3.12 GB, free: 307.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001564/4.488, allocations: 365.7 kB / 3.121 GB, free: 307.9 MB / 0.948 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.001316/4.489, allocations: 1.018 MB / 3.122 GB, free: 307.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009661/4.49, allocations: 0.6217 MB / 3.122 GB, free: 307.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/4.49, allocations: 0 / 3.122 GB, free: 307.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005595/4.491, allocations: 433.8 kB / 3.123 GB, free: 307.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/4.492, allocations: 211.8 kB / 3.123 GB, free: 307.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/4.495, allocations: 1.293 MB / 3.124 GB, free: 307.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008655/4.496, allocations: 1.109 MB / 3.125 GB, free: 306.5 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/4.496, allocations: 0 / 3.125 GB, free: 306.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)