Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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/Buildings 8.0.0/package.mo): time 2.253/2.253, allocations: 284.8 MB / 292.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001583/0.001583, allocations: 187.5 kB / 360.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.1 MB / 0.6187 GB, free: 13.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 93.2 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2527/0.254, allocations: 121.4 MB / 0.8502 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6198/0.8739, allocations: 115.2 MB / 0.9627 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.556/5.429, allocations: 2.072 GB / 3.035 GB, free: 46.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/5.43, allocations: 91.45 kB / 3.035 GB, free: 46.41 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.6095/6.039, allocations: 60.19 MB / 3.094 GB, free: 313.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/6.039, allocations: 9.844 kB / 3.094 GB, free: 313.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/6.041, allocations: 201.5 kB / 3.094 GB, free: 313 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/6.043, allocations: 0.6081 MB / 3.094 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/6.043, allocations: 24.66 kB / 3.094 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/6.043, allocations: 50.34 kB / 3.094 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002359/6.045, allocations: 1.001 MB / 3.095 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/6.047, allocations: 0.7291 MB / 3.096 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/6.047, allocations: 0 / 3.096 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/6.047, allocations: 0 / 3.096 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/6.047, allocations: 22.28 kB / 3.096 GB, free: 312.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005739/6.053, allocations: 2.361 MB / 3.098 GB, free: 311.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/6.055, allocations: 0.668 MB / 3.099 GB, free: 311.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/6.055, allocations: 247.1 kB / 3.099 GB, free: 311.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/6.055, allocations: 38.31 kB / 3.099 GB, free: 311.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008528/6.056, allocations: 388.6 kB / 3.1 GB, free: 311.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.296e-06/6.056, allocations: 1.688 kB / 3.1 GB, free: 311.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002702/6.059, allocations: 0.6644 MB / 3.1 GB, free: 311.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/6.059, allocations: 244 kB / 3.101 GB, free: 311.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/6.06, allocations: 0.499 MB / 3.101 GB, free: 311.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/6.06, allocations: 28.64 kB / 3.101 GB, free: 311.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/6.06, allocations: 295 kB / 3.101 GB, free: 311.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/6.061, allocations: 238.8 kB / 3.102 GB, free: 310.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/6.061, allocations: 2.5 kB / 3.102 GB, free: 310.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001194/6.061, allocations: 377.8 kB / 3.102 GB, free: 310.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/6.061, allocations: 200.4 kB / 3.102 GB, free: 310.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/6.062, allocations: 303 kB / 3.103 GB, free: 310.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006997/6.063, allocations: 249.6 kB / 3.103 GB, free: 310.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/6.063, allocations: 1.5 kB / 3.103 GB, free: 310.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002645/6.065, allocations: 0.6764 MB / 3.103 GB, free: 310.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/6.066, allocations: 7.312 kB / 3.103 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/6.066, allocations: 0 / 3.103 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/6.067, allocations: 81.83 kB / 3.104 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/6.068, allocations: 159.6 kB / 3.104 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/6.071, allocations: 1.455 MB / 3.105 GB, free: 309.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/6.072, allocations: 64.91 kB / 3.105 GB, free: 309.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.575e-05/6.072, allocations: 33.33 kB / 3.105 GB, free: 309.1 MB / 0.948 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 (80): * Single equations (assignments): 79 * 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.0002397/6.072, allocations: 125.5 kB / 3.105 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/6.073, allocations: 73.94 kB / 3.105 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/6.076, allocations: 0.9549 MB / 3.106 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/6.076, allocations: 9.312 kB / 3.106 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/6.076, allocations: 0 / 3.106 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/6.076, allocations: 7.641 kB / 3.106 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/6.081, allocations: 1.708 MB / 3.108 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/6.081, allocations: 0 / 3.108 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/6.082, allocations: 155 kB / 3.108 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/6.083, allocations: 90.09 kB / 3.108 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/6.083, allocations: 13.91 kB / 3.108 GB, free: 308.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002803/6.086, allocations: 1.481 MB / 3.11 GB, free: 307.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/6.086, allocations: 4.5 kB / 3.11 GB, free: 307.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002785/6.089, allocations: 0.8339 MB / 3.11 GB, free: 307.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002734/6.092, allocations: 1.246 MB / 3.112 GB, free: 306.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/6.092, allocations: 278.7 kB / 3.112 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/6.093, allocations: 7.859 kB / 3.112 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/6.094, allocations: 50.81 kB / 3.112 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/6.094, allocations: 55.62 kB / 3.112 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.32e-05/6.094, allocations: 29.89 kB / 3.112 GB, free: 306.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007276/6.095, allocations: 420.7 kB / 3.113 GB, free: 306.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002478/6.097, allocations: 385.4 kB / 3.113 GB, free: 306.3 MB / 0.948 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.002138/6.1, allocations: 1.013 MB / 3.114 GB, free: 306.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002092/6.102, allocations: 0.6611 MB / 3.115 GB, free: 306 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/6.102, allocations: 0 / 3.115 GB, free: 306 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/6.103, allocations: 456.5 kB / 3.115 GB, free: 305.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/6.105, allocations: 213.5 kB / 3.115 GB, free: 305.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006051/6.111, allocations: 1.347 MB / 3.116 GB, free: 305.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/6.112, allocations: 1.129 MB / 3.118 GB, free: 304.9 MB / 0.948 GB Notification: Performance of SimCode: time 3.604e-05/6.112, allocations: 0 / 3.118 GB, free: 304.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)