Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7422/0.7422, allocations: 141.8 MB / 149.1 MB, free: 13.27 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 181.9 kB / 181.9 MB, free: 9.93 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.4 MB / 436 MB, free: 2.379 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 95.84 kB / 0.507 GB, free: 11.09 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001984, allocations: 276.5 kB / 0.5884 GB, free: 7.934 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2493/0.2513, allocations: 89.65 MB / 0.676 GB, free: 14.19 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5763/0.8276, allocations: 82.76 MB / 0.7568 GB, free: 137.8 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.078/4.906, allocations: 1.69 GB / 2.447 GB, free: 78.79 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/4.906, allocations: 102.7 kB / 2.447 GB, free: 78.7 MB / 0.6982 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.133/5.039, allocations: 60.21 MB / 2.506 GB, free: 18.31 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/5.039, allocations: 12 kB / 2.506 GB, free: 18.3 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/5.04, allocations: 198.6 kB / 2.506 GB, free: 18.11 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/5.042, allocations: 0.6075 MB / 2.507 GB, free: 17.46 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/5.042, allocations: 28 kB / 2.507 GB, free: 17.43 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/5.042, allocations: 44 kB / 2.507 GB, free: 17.39 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0015/5.043, allocations: 0.964 MB / 2.508 GB, free: 16.42 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/5.045, allocations: 0.7036 MB / 2.508 GB, free: 15.68 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/5.045, allocations: 0 / 2.508 GB, free: 15.68 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.822e-05/5.045, allocations: 4 kB / 2.508 GB, free: 15.68 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/5.045, allocations: 20 kB / 2.508 GB, free: 15.66 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/5.049, allocations: 2.22 MB / 2.511 GB, free: 13.38 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/5.05, allocations: 0.7091 MB / 2.511 GB, free: 12.64 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/5.05, allocations: 232 kB / 2.511 GB, free: 12.41 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 9.496e-05/5.05, allocations: 28.61 kB / 2.511 GB, free: 12.38 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/5.051, allocations: 374.1 kB / 2.512 GB, free: 12 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=70): time 4.489e-06/5.051, allocations: 3.938 kB / 2.512 GB, free: 11.99 MB / 0.6982 GB Notification: Performance of matching and sorting (n=70): time 0.001842/5.053, allocations: 0.6093 MB / 2.512 GB, free: 11.38 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.725e-05/5.053, allocations: 244 kB / 2.513 GB, free: 11.08 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007162/5.054, allocations: 0.4982 MB / 2.513 GB, free: 10.57 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/5.054, allocations: 25.7 kB / 2.513 GB, free: 10.54 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/5.054, allocations: 288.2 kB / 2.513 GB, free: 10.25 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/5.054, allocations: 224.6 kB / 2.514 GB, free: 10.03 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/5.054, allocations: 0 / 2.514 GB, free: 10.03 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/5.054, allocations: 378.8 kB / 2.514 GB, free: 9.652 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/5.054, allocations: 177.3 kB / 2.514 GB, free: 9.48 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/5.055, allocations: 282.4 kB / 2.514 GB, free: 9.172 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/5.055, allocations: 235.1 kB / 2.515 GB, free: 8.949 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/5.055, allocations: 0 / 2.515 GB, free: 8.949 MB / 0.6982 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001386/5.057, allocations: 0.6287 MB / 2.515 GB, free: 8.309 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/5.057, allocations: 4 kB / 2.515 GB, free: 8.305 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/5.057, allocations: 0 / 2.515 GB, free: 8.305 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/5.057, allocations: 84.84 kB / 2.515 GB, free: 8.219 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/5.058, allocations: 131.8 kB / 2.515 GB, free: 8.09 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/5.06, allocations: 1.458 MB / 2.517 GB, free: 6.508 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006022/5.06, allocations: 59.55 kB / 2.517 GB, free: 6.449 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.86e-05/5.06, allocations: 32.05 kB / 2.517 GB, free: 6.418 MB / 0.6982 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.0001676/5.06, allocations: 124.2 kB / 2.517 GB, free: 6.293 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/5.061, allocations: 67.16 kB / 2.517 GB, free: 6.227 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/5.063, allocations: 0.8852 MB / 2.518 GB, free: 5.355 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/5.063, allocations: 8 kB / 2.518 GB, free: 5.348 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/5.063, allocations: 0 / 2.518 GB, free: 5.348 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/5.063, allocations: 11.92 kB / 2.518 GB, free: 5.336 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/5.065, allocations: 1.643 MB / 2.52 GB, free: 3.645 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/5.065, allocations: 4 kB / 2.52 GB, free: 3.641 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005598/5.066, allocations: 135.8 kB / 2.52 GB, free: 3.508 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/5.067, allocations: 88.77 kB / 2.52 GB, free: 3.418 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/5.067, allocations: 15.89 kB / 2.52 GB, free: 3.402 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/5.068, allocations: 1.476 MB / 2.521 GB, free: 1.801 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/5.068, allocations: 0 / 2.521 GB, free: 1.801 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001419/5.07, allocations: 0.7932 MB / 2.522 GB, free: 0.9844 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3072/5.377, allocations: 1.208 MB / 2.523 GB, free: 268.8 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006895/5.378, allocations: 264 kB / 2.524 GB, free: 268.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/5.378, allocations: 3.75 kB / 2.524 GB, free: 268.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006422/5.378, allocations: 54.19 kB / 2.524 GB, free: 268.7 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/5.379, allocations: 56.84 kB / 2.524 GB, free: 268.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/5.379, allocations: 28.56 kB / 2.524 GB, free: 268.7 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0004804/5.379, allocations: 401.8 kB / 2.524 GB, free: 268.6 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001728/5.381, allocations: 405.3 kB / 2.524 GB, free: 268.6 MB / 0.6982 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.002315/5.383, allocations: 1.051 MB / 2.525 GB, free: 268.5 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.00165/5.385, allocations: 0.621 MB / 2.526 GB, free: 268.4 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/5.385, allocations: 0 / 2.526 GB, free: 268.4 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0006481/5.386, allocations: 433.2 kB / 2.527 GB, free: 268.3 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/5.387, allocations: 208.4 kB / 2.527 GB, free: 268.3 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/5.39, allocations: 1.31 MB / 2.528 GB, free: 268 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007481/5.391, allocations: 1.11 MB / 2.529 GB, free: 267.3 MB / 0.6982 GB Notification: Performance of SimCode: time 6.01e-07/5.391, allocations: 0 / 2.529 GB, free: 267.3 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)