Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.279/2.279, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001601/0.001601, allocations: 185.2 kB / 360.3 MB, free: 7.523 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.764/1.764, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001218/0.001218, allocations: 88.84 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2563/0.2575, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5922/0.8497, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.374/5.224, allocations: 2.071 GB / 3.033 GB, free: 49.98 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/5.225, allocations: 92.22 kB / 3.034 GB, free: 49.93 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.637/5.862, allocations: 59.09 MB / 3.091 GB, free: 315.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/5.862, allocations: 10.25 kB / 3.091 GB, free: 315.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/5.863, allocations: 192.1 kB / 3.091 GB, free: 315.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/5.865, allocations: 0.6046 MB / 3.092 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.249e-05/5.865, allocations: 22.59 kB / 3.092 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/5.865, allocations: 49.25 kB / 3.092 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002206/5.867, allocations: 0.9579 MB / 3.093 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/5.869, allocations: 0.6909 MB / 3.094 GB, free: 314.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/5.869, allocations: 0 / 3.094 GB, free: 314.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/5.869, allocations: 2.594 kB / 3.094 GB, free: 314.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/5.869, allocations: 17.5 kB / 3.094 GB, free: 314.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005152/5.874, allocations: 2.208 MB / 3.096 GB, free: 314.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/5.876, allocations: 0.7015 MB / 3.097 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000555/5.876, allocations: 233.4 kB / 3.097 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/5.876, allocations: 34.84 kB / 3.097 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007682/5.877, allocations: 364.2 kB / 3.097 GB, free: 313.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.326e-06/5.877, allocations: 0 / 3.097 GB, free: 313.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002584/5.88, allocations: 0.6143 MB / 3.098 GB, free: 313.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/5.88, allocations: 242.8 kB / 3.098 GB, free: 313.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000972/5.881, allocations: 0.4939 MB / 3.098 GB, free: 313.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/5.881, allocations: 28.92 kB / 3.099 GB, free: 313.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/5.881, allocations: 286.1 kB / 3.099 GB, free: 313.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/5.881, allocations: 217.8 kB / 3.099 GB, free: 313.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/5.882, allocations: 5.547 kB / 3.099 GB, free: 313.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001205/5.882, allocations: 373.3 kB / 3.099 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/5.882, allocations: 180.2 kB / 3.1 GB, free: 312.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/5.883, allocations: 282.4 kB / 3.1 GB, free: 312.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006492/5.883, allocations: 237.9 kB / 3.1 GB, free: 312.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/5.883, allocations: 0 / 3.1 GB, free: 312.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002545/5.886, allocations: 0.6198 MB / 3.101 GB, free: 312.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/5.886, allocations: 7.781 kB / 3.101 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/5.886, allocations: 0 / 3.101 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/5.887, allocations: 88.41 kB / 3.101 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/5.889, allocations: 127.7 kB / 3.101 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004475/5.894, allocations: 1.457 MB / 3.102 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/5.896, allocations: 67.14 kB / 3.102 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/5.896, allocations: 24.8 kB / 3.102 GB, free: 311.4 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.0003233/5.896, allocations: 128.2 kB / 3.102 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/5.896, allocations: 68.97 kB / 3.103 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005658/5.902, allocations: 0.888 MB / 3.103 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/5.902, allocations: 6.469 kB / 3.103 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/5.902, allocations: 1.188 kB / 3.103 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/5.902, allocations: 9.375 kB / 3.103 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006693/5.909, allocations: 1.643 MB / 3.105 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/5.909, allocations: 6.922 kB / 3.105 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/5.911, allocations: 139.3 kB / 3.105 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/5.912, allocations: 82.58 kB / 3.105 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/5.912, allocations: 18.81 kB / 3.105 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00368/5.916, allocations: 1.476 MB / 3.107 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/5.916, allocations: 0 / 3.107 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004184/5.92, allocations: 0.7927 MB / 3.107 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004303/5.925, allocations: 1.208 MB / 3.109 GB, free: 308.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009376/5.926, allocations: 270.5 kB / 3.109 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/5.926, allocations: 6.625 kB / 3.109 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/5.928, allocations: 57.59 kB / 3.109 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/5.928, allocations: 48.47 kB / 3.109 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/5.928, allocations: 30.94 kB / 3.109 GB, free: 308.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009994/5.929, allocations: 399.1 kB / 3.109 GB, free: 308.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003211/5.932, allocations: 368.5 kB / 3.11 GB, free: 308.5 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.002132/5.935, allocations: 1.008 MB / 3.111 GB, free: 308.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001875/5.937, allocations: 0.6252 MB / 3.111 GB, free: 308.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/5.937, allocations: 3.25 kB / 3.111 GB, free: 308.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/5.938, allocations: 424.2 kB / 3.112 GB, free: 308.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/5.939, allocations: 222.4 kB / 3.112 GB, free: 308.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/5.945, allocations: 1.293 MB / 3.113 GB, free: 307.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/5.946, allocations: 1.103 MB / 3.114 GB, free: 307.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.313e-06/5.946, allocations: 3 kB / 3.114 GB, free: 307.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)