Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.591/2.591, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001549/0.001548, allocations: 181 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 82.98 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005447/0.0005446, allocations: 10.91 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2484, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.869/7.118, allocations: 2.072 GB / 3.05 GB, free: 203.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/7.118, allocations: 93.33 kB / 3.05 GB, free: 203.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3246/7.443, allocations: 62.48 MB / 3.111 GB, free: 150 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.116e-06/7.443, allocations: 0 / 3.111 GB, free: 150 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001192/7.443, allocations: 16 kB / 3.111 GB, free: 150 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004228/7.447, allocations: 1.152 MB / 3.112 GB, free: 148.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/7.447, allocations: 16.02 kB / 3.112 GB, free: 148.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005328/7.448, allocations: 126.7 kB / 3.112 GB, free: 148.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/7.45, allocations: 182.6 kB / 3.112 GB, free: 148.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/7.452, allocations: 0.6153 MB / 3.113 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-05/7.452, allocations: 54 kB / 3.113 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002316/7.453, allocations: 79.98 kB / 3.113 GB, free: 147.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003385/7.456, allocations: 0.8325 MB / 3.114 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/7.456, allocations: 0 / 3.114 GB, free: 146.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001977/7.456, allocations: 35.95 kB / 3.114 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/7.456, allocations: 23.94 kB / 3.114 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004134/7.461, allocations: 1.057 MB / 3.115 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008339/7.469, allocations: 2.376 MB / 3.117 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002991/7.472, allocations: 0.7294 MB / 3.118 GB, free: 142.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/7.472, allocations: 32.59 kB / 3.118 GB, free: 142.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/7.474, allocations: 425.8 kB / 3.118 GB, free: 142 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 4.909e-06/7.474, allocations: 0 / 3.118 GB, free: 142 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.00677/7.481, allocations: 1.103 MB / 3.12 GB, free: 140.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/7.481, allocations: 247.8 kB / 3.12 GB, free: 140.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/7.482, allocations: 0.5696 MB / 3.12 GB, free: 140 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002478/7.483, allocations: 41.69 kB / 3.12 GB, free: 140 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/7.483, allocations: 364.3 kB / 3.121 GB, free: 139.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000371/7.484, allocations: 228.6 kB / 3.121 GB, free: 139.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/7.484, allocations: 16 kB / 3.121 GB, free: 139.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001669/7.484, allocations: 378.8 kB / 3.121 GB, free: 139 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/7.485, allocations: 217.2 kB / 3.122 GB, free: 138.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/7.486, allocations: 331.6 kB / 3.122 GB, free: 138.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/7.487, allocations: 267.1 kB / 3.122 GB, free: 138.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/7.487, allocations: 0 / 3.122 GB, free: 138.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.004039/7.491, allocations: 0.712 MB / 3.123 GB, free: 137.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/7.492, allocations: 15.89 kB / 3.123 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/7.492, allocations: 0 / 3.123 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/7.493, allocations: 84.83 kB / 3.123 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/7.494, allocations: 135.8 kB / 3.123 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/7.497, allocations: 1.537 MB / 3.125 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/7.498, allocations: 79.5 kB / 3.125 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-05/7.498, allocations: 31.97 kB / 3.125 GB, free: 135.4 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 () * Number of clocked 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.0006619/7.499, allocations: 248.5 kB / 3.125 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/7.499, allocations: 79.02 kB / 3.125 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/7.503, allocations: 1.002 MB / 3.126 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/7.503, allocations: 12 kB / 3.126 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/7.503, allocations: 7.938 kB / 3.126 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/7.503, allocations: 3.984 kB / 3.126 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/7.504, allocations: 0.8645 MB / 3.127 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/7.504, allocations: 0 / 3.127 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/7.506, allocations: 139.8 kB / 3.127 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008591/7.506, allocations: 84.77 kB / 3.127 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.178e-05/7.506, allocations: 23.98 kB / 3.127 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/7.509, allocations: 1.567 MB / 3.129 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/7.509, allocations: 0 / 3.129 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/7.512, allocations: 0.8459 MB / 3.129 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005956/7.513, allocations: 283.8 kB / 3.13 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/7.513, allocations: 16 kB / 3.13 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009477/7.514, allocations: 63.94 kB / 3.13 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/7.514, allocations: 60.88 kB / 3.13 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.33e-05/7.514, allocations: 31.98 kB / 3.13 GB, free: 129.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008727/7.515, allocations: 475 kB / 3.13 GB, free: 129.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.5e-07/7.515, allocations: 0 / 3.13 GB, free: 129.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001405/7.516, allocations: 323.2 kB / 3.131 GB, free: 129.1 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * 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.005472/7.522, allocations: 2.308 MB / 3.133 GB, free: 126.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002474/7.524, allocations: 0.7244 MB / 3.134 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/7.524, allocations: 0 / 3.134 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001326/7.526, allocations: 492.2 kB / 3.134 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/7.528, allocations: 244.3 kB / 3.134 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/7.541, allocations: 4.911 MB / 3.139 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/7.542, allocations: 1.011 MB / 3.14 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001433/7.543, allocations: 261.8 kB / 3.14 GB, free: 119.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007243/7.544, allocations: 339.3 kB / 3.141 GB, free: 118.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/7.544, allocations: 4 kB / 3.141 GB, free: 118.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08083/7.625, allocations: 28.67 MB / 3.169 GB, free: 90.46 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/7.625, allocations: 263.6 kB / 3.169 GB, free: 90.11 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.o] Error 1