Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.0009704/0.0009704, allocations: 193 kB / 7.806 MB, free: 2.477 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4364/0.4364, allocations: 90.84 MB / 99.06 MB, free: 14.95 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.192/1.192, allocations: 221.4 MB / 342.8 MB, free: 5.219 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.0009232/0.0009232, allocations: 95.56 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.173/0.174, allocations: 78.45 MB / 494 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.5403, allocations: 72.3 MB / 0.553 GB, free: 73.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.215/3.755, allocations: 1.683 GB / 2.236 GB, free: 145.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/3.756, allocations: 91.94 kB / 2.236 GB, free: 145.3 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.1343/3.89, allocations: 60.95 MB / 2.296 GB, free: 84.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/3.89, allocations: 8 kB / 2.296 GB, free: 84.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/3.891, allocations: 202.6 kB / 2.296 GB, free: 84.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/3.892, allocations: 0.6113 MB / 2.297 GB, free: 83.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/3.893, allocations: 28 kB / 2.297 GB, free: 83.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.126e-05/3.893, allocations: 44 kB / 2.297 GB, free: 83.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001372/3.894, allocations: 0.9879 MB / 2.298 GB, free: 82.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/3.895, allocations: 0.7272 MB / 2.299 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/3.895, allocations: 0 / 2.299 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/3.895, allocations: 0 / 2.299 GB, free: 81.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/3.895, allocations: 20 kB / 2.299 GB, free: 81.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/3.899, allocations: 2.277 MB / 2.301 GB, free: 79.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/3.9, allocations: 0.7128 MB / 2.301 GB, free: 78.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/3.9, allocations: 250.8 kB / 2.302 GB, free: 78.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.071e-05/3.9, allocations: 32.67 kB / 2.302 GB, free: 78.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005514/3.901, allocations: 378 kB / 2.302 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 2.795e-06/3.901, allocations: 0 / 2.302 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001582/3.903, allocations: 0.6288 MB / 2.303 GB, free: 77.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/3.903, allocations: 244 kB / 2.303 GB, free: 76.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005524/3.903, allocations: 0.4945 MB / 2.303 GB, free: 76.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/3.903, allocations: 33.69 kB / 2.303 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/3.903, allocations: 304 kB / 2.304 GB, free: 76.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/3.904, allocations: 232.4 kB / 2.304 GB, free: 75.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/3.904, allocations: 0 / 2.304 GB, free: 75.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.761e-05/3.904, allocations: 378.7 kB / 2.304 GB, free: 75.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/3.904, allocations: 189.3 kB / 2.304 GB, free: 75.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003386/3.904, allocations: 291.3 kB / 2.305 GB, free: 74.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/3.905, allocations: 243 kB / 2.305 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/3.905, allocations: 0 / 2.305 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001381/3.906, allocations: 0.6443 MB / 2.306 GB, free: 74.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/3.906, allocations: 8 kB / 2.306 GB, free: 74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/3.906, allocations: 0 / 2.306 GB, free: 74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006216/3.907, allocations: 80.88 kB / 2.306 GB, free: 73.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005895/3.907, allocations: 147.8 kB / 2.306 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/3.909, allocations: 1.449 MB / 2.307 GB, free: 72.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/3.91, allocations: 67.61 kB / 2.307 GB, free: 72.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/3.91, allocations: 27.97 kB / 2.307 GB, free: 72.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0002062/3.91, allocations: 128.8 kB / 2.307 GB, free: 71.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/3.91, allocations: 67.34 kB / 2.308 GB, free: 71.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/3.912, allocations: 0.9321 MB / 2.308 GB, free: 70.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/3.912, allocations: 8 kB / 2.308 GB, free: 70.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/3.912, allocations: 0 / 2.308 GB, free: 70.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/3.912, allocations: 3.984 kB / 2.308 GB, free: 70.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/3.915, allocations: 1.694 MB / 2.31 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/3.915, allocations: 4 kB / 2.31 GB, free: 69.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/3.916, allocations: 147.8 kB / 2.31 GB, free: 69.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00054/3.916, allocations: 84.78 kB / 2.31 GB, free: 69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/3.916, allocations: 18.12 kB / 2.31 GB, free: 68.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/3.918, allocations: 1.48 MB / 2.312 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/3.918, allocations: 0 / 2.312 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001386/3.919, allocations: 0.8245 MB / 2.313 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001704/3.921, allocations: 1.231 MB / 2.314 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/3.922, allocations: 275.8 kB / 2.314 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/3.922, allocations: 11.92 kB / 2.314 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005903/3.922, allocations: 55.95 kB / 2.314 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/3.922, allocations: 52.7 kB / 2.314 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/3.922, allocations: 31.97 kB / 2.314 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004574/3.923, allocations: 402.9 kB / 2.315 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001891/3.925, allocations: 407 kB / 2.315 GB, free: 64.05 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 (87): * Single equations (assignments): 84 * 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.001704/3.927, allocations: 1.05 MB / 2.316 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001184/3.928, allocations: 0.639 MB / 2.317 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/3.928, allocations: 4.188 kB / 2.317 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006042/3.928, allocations: 452.5 kB / 2.317 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/3.929, allocations: 208 kB / 2.317 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003765/3.933, allocations: 1.339 MB / 2.319 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007026/3.934, allocations: 1.123 MB / 2.32 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/3.934, allocations: 0 / 2.32 GB, free: 59.27 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)