Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001221/0.001221, allocations: 183 kB / 7.799 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4749/0.4749, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.178/1.178, allocations: 221.4 MB / 342.7 MB, free: 5.207 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.0008646/0.0008646, allocations: 94.66 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1546/0.1555, allocations: 78.45 MB / 494 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.499, allocations: 72.3 MB / 0.553 GB, free: 73.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.107/3.606, allocations: 1.684 GB / 2.237 GB, free: 144.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/3.606, allocations: 95.94 kB / 2.237 GB, free: 144.2 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.1362/3.742, allocations: 61.79 MB / 2.298 GB, free: 82.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/3.742, allocations: 12 kB / 2.298 GB, free: 82.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/3.743, allocations: 198.5 kB / 2.298 GB, free: 82.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/3.745, allocations: 0.6192 MB / 2.298 GB, free: 81.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/3.745, allocations: 31.91 kB / 2.298 GB, free: 81.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/3.745, allocations: 44 kB / 2.298 GB, free: 81.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001638/3.747, allocations: 1.011 MB / 2.299 GB, free: 80.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/3.748, allocations: 0.7545 MB / 2.3 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/3.748, allocations: 0 / 2.3 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/3.748, allocations: 4 kB / 2.3 GB, free: 79.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/3.748, allocations: 24 kB / 2.3 GB, free: 79.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/3.752, allocations: 2.414 MB / 2.303 GB, free: 77.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/3.754, allocations: 0.7845 MB / 2.303 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003678/3.754, allocations: 253.1 kB / 2.304 GB, free: 75.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.513e-05/3.755, allocations: 40.67 kB / 2.304 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005048/3.755, allocations: 386.1 kB / 2.304 GB, free: 75.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 2.374e-06/3.755, allocations: 0 / 2.304 GB, free: 75.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.001667/3.757, allocations: 0.6677 MB / 2.305 GB, free: 74.88 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/3.757, allocations: 243.9 kB / 2.305 GB, free: 74.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006664/3.757, allocations: 0.5044 MB / 2.305 GB, free: 74.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/3.758, allocations: 25.7 kB / 2.305 GB, free: 74.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/3.758, allocations: 304.2 kB / 2.306 GB, free: 73.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/3.758, allocations: 240.3 kB / 2.306 GB, free: 73.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/3.758, allocations: 0 / 2.306 GB, free: 73.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/3.758, allocations: 378.8 kB / 2.306 GB, free: 73.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/3.758, allocations: 197.3 kB / 2.306 GB, free: 72.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/3.759, allocations: 302.4 kB / 2.307 GB, free: 72.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/3.759, allocations: 251 kB / 2.307 GB, free: 72.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/3.759, allocations: 0 / 2.307 GB, free: 72.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001464/3.761, allocations: 0.6717 MB / 2.308 GB, free: 71.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/3.761, allocations: 11.94 kB / 2.308 GB, free: 71.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/3.761, allocations: 0 / 2.308 GB, free: 71.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/3.761, allocations: 84.84 kB / 2.308 GB, free: 71.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/3.762, allocations: 143.8 kB / 2.308 GB, free: 71.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/3.764, allocations: 1.461 MB / 2.309 GB, free: 69.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/3.764, allocations: 71.59 kB / 2.309 GB, free: 69.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/3.764, allocations: 29.23 kB / 2.309 GB, free: 69.75 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: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.00016/3.765, allocations: 112.9 kB / 2.309 GB, free: 69.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/3.765, allocations: 75.06 kB / 2.31 GB, free: 69.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/3.767, allocations: 0.9848 MB / 2.311 GB, free: 68.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/3.767, allocations: 8 kB / 2.311 GB, free: 68.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/3.767, allocations: 0 / 2.311 GB, free: 68.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/3.767, allocations: 7.984 kB / 2.311 GB, free: 68.57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/3.77, allocations: 1.761 MB / 2.312 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/3.77, allocations: 0 / 2.312 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/3.77, allocations: 167.8 kB / 2.312 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005226/3.771, allocations: 84.77 kB / 2.312 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/3.771, allocations: 15.98 kB / 2.313 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/3.773, allocations: 1.484 MB / 2.314 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/3.773, allocations: 0 / 2.314 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001559/3.774, allocations: 0.8518 MB / 2.315 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001654/3.776, allocations: 1.27 MB / 2.316 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/3.776, allocations: 283.8 kB / 2.316 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/3.776, allocations: 4 kB / 2.316 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006586/3.777, allocations: 55.95 kB / 2.316 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/3.777, allocations: 56.69 kB / 2.316 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/3.777, allocations: 39.97 kB / 2.316 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0005328/3.778, allocations: 408.5 kB / 2.317 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002016/3.78, allocations: 430.9 kB / 2.317 GB, free: 61.46 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 (93): * Single equations (assignments): 90 * 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.002019/3.782, allocations: 1.059 MB / 2.318 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001305/3.783, allocations: 0.6703 MB / 2.319 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/3.783, allocations: 0 / 2.319 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/3.784, allocations: 472.6 kB / 2.319 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/3.785, allocations: 218.4 kB / 2.32 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/3.789, allocations: 1.37 MB / 2.321 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009196/3.79, allocations: 1.143 MB / 2.322 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of SimCode: time 9.91e-07/3.79, allocations: 4 kB / 2.322 GB, free: 56.56 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)