Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7432/0.7432, allocations: 127.4 MB / 134.6 MB, free: 4.094 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 181.2 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.1 MB / 399.1 MB, free: 6.207 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 95.09 kB / 476.3 MB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4299/0.431, allocations: 82.88 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.666, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.161/5.827, allocations: 2.146 GB / 2.767 GB, free: 181.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/5.827, allocations: 99.88 kB / 2.767 GB, free: 181.8 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.1181/5.945, allocations: 55.19 MB / 2.821 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/5.946, allocations: 8 kB / 2.821 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/5.948, allocations: 326.4 kB / 2.821 GB, free: 125.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001367/5.949, allocations: 0.5219 MB / 2.822 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/5.949, allocations: 27.98 kB / 2.822 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/5.949, allocations: 44 kB / 2.822 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001681/5.951, allocations: 0.9874 MB / 2.823 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/5.952, allocations: 0.6769 MB / 2.824 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.953e-05/5.952, allocations: 0 / 2.824 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/5.952, allocations: 11.94 kB / 2.824 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/5.953, allocations: 16 kB / 2.824 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004155/5.957, allocations: 2.189 MB / 2.826 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009941/5.958, allocations: 0.7169 MB / 2.826 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003355/5.958, allocations: 254.8 kB / 2.827 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/5.959, allocations: 470.1 kB / 2.827 GB, free: 119.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005031/5.959, allocations: 396.1 kB / 2.828 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=70): time 3.527e-06/5.959, allocations: 7.938 kB / 2.828 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.001927/5.961, allocations: 0.699 MB / 2.828 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/5.961, allocations: 162.9 kB / 2.828 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/5.962, allocations: 449.2 kB / 2.829 GB, free: 118 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/5.962, allocations: 25.7 kB / 2.829 GB, free: 118 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/5.962, allocations: 272.3 kB / 2.829 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/5.962, allocations: 220.7 kB / 2.829 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-05/5.962, allocations: 0 / 2.829 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/5.962, allocations: 362.8 kB / 2.83 GB, free: 117.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/5.962, allocations: 193.3 kB / 2.83 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/5.963, allocations: 267.8 kB / 2.83 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007177/5.963, allocations: 303 kB / 2.83 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/5.964, allocations: 8 kB / 2.83 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001747/5.965, allocations: 0.6991 MB / 2.831 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/5.965, allocations: 4 kB / 2.831 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/5.965, allocations: 4 kB / 2.831 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006199/5.966, allocations: 84.83 kB / 2.831 GB, free: 115.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007374/5.967, allocations: 139.8 kB / 2.831 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001716/5.968, allocations: 1.457 MB / 2.833 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006606/5.969, allocations: 63.61 kB / 2.833 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/5.969, allocations: 27.97 kB / 2.833 GB, free: 113.7 MB / 0.6511 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * 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.0001703/5.969, allocations: 120.1 kB / 2.833 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/5.969, allocations: 63.25 kB / 2.833 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/5.972, allocations: 0.9518 MB / 2.834 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/5.972, allocations: 11.98 kB / 2.834 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/5.972, allocations: 3.938 kB / 2.834 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/5.972, allocations: 3.984 kB / 2.834 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/5.975, allocations: 1.671 MB / 2.836 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/5.975, allocations: 0 / 2.836 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/5.976, allocations: 155.8 kB / 2.836 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000515/5.976, allocations: 80.78 kB / 2.836 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.113e-05/5.976, allocations: 15.98 kB / 2.836 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/5.978, allocations: 1.48 MB / 2.837 GB, free: 109 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/5.978, allocations: 3.938 kB / 2.837 GB, free: 109 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001713/5.979, allocations: 0.8525 MB / 2.838 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001832/5.981, allocations: 1.255 MB / 2.839 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/5.982, allocations: 272 kB / 2.84 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/5.982, allocations: 4 kB / 2.84 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006632/5.982, allocations: 63.88 kB / 2.84 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/5.983, allocations: 48.5 kB / 2.84 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/5.983, allocations: 27.98 kB / 2.84 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004005/5.983, allocations: 354.9 kB / 2.84 GB, free: 106.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001918/5.985, allocations: 391 kB / 2.84 GB, free: 105.7 MB / 0.6511 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * 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.001747/5.987, allocations: 1.033 MB / 2.841 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001226/5.988, allocations: 0.6374 MB / 2.842 GB, free: 104 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/5.988, allocations: 0 / 2.842 GB, free: 104 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007211/5.989, allocations: 428.1 kB / 2.842 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009376/5.99, allocations: 170.8 kB / 2.843 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/5.993, allocations: 1.237 MB / 2.844 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/5.994, allocations: 1.076 MB / 2.845 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of SimCode: time 5.31e-07/5.994, allocations: 0 / 2.845 GB, free: 101.1 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)