Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 189.6 kB / 7.803 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4611/0.4611, allocations: 90.85 MB / 99.07 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.4 MB / 342.8 MB, free: 5.215 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 89.33 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1939/0.1951, allocations: 78.46 MB / 494 MB, free: 7.992 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.6535, allocations: 72.3 MB / 0.553 GB, free: 73.32 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.409/4.062, allocations: 1.683 GB / 2.236 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/4.062, allocations: 97.53 kB / 2.236 GB, free: 130.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.1265/4.189, allocations: 60.24 MB / 2.295 GB, free: 69.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/4.189, allocations: 11.98 kB / 2.295 GB, free: 69.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008997/4.19, allocations: 186.6 kB / 2.295 GB, free: 69.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008678/4.191, allocations: 0.6075 MB / 2.296 GB, free: 68.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/4.191, allocations: 24 kB / 2.296 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/4.191, allocations: 44 kB / 2.296 GB, free: 68.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00119/4.192, allocations: 0.9679 MB / 2.297 GB, free: 67.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009313/4.193, allocations: 0.6998 MB / 2.298 GB, free: 67.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/4.193, allocations: 8 kB / 2.298 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/4.193, allocations: 0 / 2.298 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/4.193, allocations: 20 kB / 2.298 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002893/4.196, allocations: 2.208 MB / 2.3 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008766/4.197, allocations: 0.7111 MB / 2.3 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/4.197, allocations: 234.8 kB / 2.301 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.999e-05/4.197, allocations: 28.59 kB / 2.301 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/4.198, allocations: 373.9 kB / 2.301 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=70): time 2.505e-06/4.198, allocations: 4 kB / 2.301 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70): time 0.001353/4.199, allocations: 0.6093 MB / 2.302 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/4.199, allocations: 249.8 kB / 2.302 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/4.2, allocations: 498.3 kB / 2.302 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/4.2, allocations: 29.69 kB / 2.302 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/4.2, allocations: 292.2 kB / 2.303 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/4.2, allocations: 220.6 kB / 2.303 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/4.2, allocations: 0 / 2.303 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.226e-05/4.2, allocations: 378.7 kB / 2.303 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/4.2, allocations: 181.3 kB / 2.303 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/4.201, allocations: 286.4 kB / 2.304 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/4.201, allocations: 227.1 kB / 2.304 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/4.201, allocations: 3.906 kB / 2.304 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001254/4.202, allocations: 0.621 MB / 2.304 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/4.202, allocations: 7.984 kB / 2.305 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/4.202, allocations: 1.641 kB / 2.305 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/4.203, allocations: 84.84 kB / 2.305 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/4.203, allocations: 135.8 kB / 2.305 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/4.205, allocations: 1.461 MB / 2.306 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/4.206, allocations: 63.61 kB / 2.306 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/4.206, allocations: 27.98 kB / 2.306 GB, free: 57.94 MB / 0.6042 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.0001311/4.206, allocations: 115.4 kB / 2.306 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/4.206, allocations: 71.16 kB / 2.306 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/4.208, allocations: 0.8893 MB / 2.307 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/4.208, allocations: 8 kB / 2.307 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/4.208, allocations: 0 / 2.307 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/4.208, allocations: 3.984 kB / 2.307 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/4.21, allocations: 1.644 MB / 2.309 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/4.21, allocations: 0 / 2.309 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005228/4.211, allocations: 139.8 kB / 2.309 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005156/4.211, allocations: 84.78 kB / 2.309 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/4.211, allocations: 15.98 kB / 2.309 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/4.213, allocations: 1.488 MB / 2.311 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/4.213, allocations: 0 / 2.311 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001323/4.214, allocations: 0.7855 MB / 2.311 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001526/4.215, allocations: 1.208 MB / 2.313 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/4.216, allocations: 264 kB / 2.313 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/4.216, allocations: 3.984 kB / 2.313 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/4.217, allocations: 55.95 kB / 2.313 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/4.217, allocations: 56.55 kB / 2.313 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/4.217, allocations: 35.92 kB / 2.313 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004159/4.217, allocations: 398.9 kB / 2.313 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001588/4.219, allocations: 399.1 kB / 2.314 GB, free: 50.08 MB / 0.6042 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.001541/4.22, allocations: 1.044 MB / 2.315 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009932/4.221, allocations: 0.6156 MB / 2.315 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/4.221, allocations: 3.938 kB / 2.315 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005585/4.222, allocations: 436.7 kB / 2.316 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/4.223, allocations: 216.7 kB / 2.316 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/4.226, allocations: 1.303 MB / 2.317 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006107/4.227, allocations: 1.111 MB / 2.318 GB, free: 45.39 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/4.227, allocations: 0 / 2.318 GB, free: 45.39 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)