Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.168/2.168, allocations: 248.5 MB / 261.1 MB, free: 6.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00151/0.00151, allocations: 188.2 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.2 MB / 0.571 GB, free: 11.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 98.41 kB / 0.6754 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.293e-05/4.303e-05, allocations: 4 kB / 0.7869 GB, free: 97.85 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2075, allocations: 106.2 MB / 0.8907 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.136/7.344, allocations: 2.19 GB / 3.08 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/7.344, allocations: 95.92 kB / 3.08 GB, free: 159 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2066/7.551, allocations: 57.53 MB / 3.137 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/7.551, allocations: 0 / 3.137 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.454e-05/7.551, allocations: 20 kB / 3.137 GB, free: 107.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002149/7.553, allocations: 1.043 MB / 3.138 GB, free: 106 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/7.553, allocations: 8.031 kB / 3.138 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/7.553, allocations: 122.8 kB / 3.138 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/7.555, allocations: 186.6 kB / 3.138 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/7.556, allocations: 0.5997 MB / 3.138 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/7.556, allocations: 62 kB / 3.139 GB, free: 105 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/7.556, allocations: 79.98 kB / 3.139 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/7.558, allocations: 0.8208 MB / 3.139 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/7.558, allocations: 0 / 3.139 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/7.558, allocations: 35.95 kB / 3.139 GB, free: 104 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/7.558, allocations: 20 kB / 3.139 GB, free: 104 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/7.56, allocations: 1.011 MB / 3.14 GB, free: 103 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004998/7.565, allocations: 2.363 MB / 3.143 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/7.567, allocations: 0.7624 MB / 3.143 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/7.567, allocations: 258.5 kB / 3.144 GB, free: 99.54 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/7.568, allocations: 28.58 kB / 3.144 GB, free: 99.51 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008682/7.569, allocations: 418 kB / 3.144 GB, free: 99.08 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 3.567e-06/7.569, allocations: 0 / 3.144 GB, free: 99.08 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72): time 0.002519/7.571, allocations: 0.6797 MB / 3.145 GB, free: 98.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/7.571, allocations: 244.1 kB / 3.145 GB, free: 98.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/7.572, allocations: 0.5658 MB / 3.146 GB, free: 97.53 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/7.572, allocations: 41.7 kB / 3.146 GB, free: 97.48 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/7.573, allocations: 364.3 kB / 3.146 GB, free: 97.12 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/7.573, allocations: 240.5 kB / 3.146 GB, free: 96.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/7.573, allocations: 8 kB / 3.146 GB, free: 96.87 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001579/7.573, allocations: 374.8 kB / 3.147 GB, free: 96.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005393/7.574, allocations: 201.5 kB / 3.147 GB, free: 96.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006388/7.574, allocations: 309 kB / 3.147 GB, free: 95.97 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/7.575, allocations: 242 kB / 3.147 GB, free: 95.73 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.341e-06/7.575, allocations: 3.938 kB / 3.147 GB, free: 95.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002476/7.578, allocations: 0.6837 MB / 3.148 GB, free: 95.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/7.578, allocations: 8 kB / 3.148 GB, free: 95.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/7.578, allocations: 0 / 3.148 GB, free: 95.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009566/7.579, allocations: 80.84 kB / 3.148 GB, free: 94.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/7.58, allocations: 143.8 kB / 3.148 GB, free: 94.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/7.582, allocations: 1.512 MB / 3.15 GB, free: 93.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/7.584, allocations: 87.44 kB / 3.15 GB, free: 93.06 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/7.584, allocations: 23.98 kB / 3.15 GB, free: 93.04 MB / 0.8698 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 (74): * Single equations (assignments): 73 * 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.0002467/7.584, allocations: 138 kB / 3.15 GB, free: 92.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/7.584, allocations: 79.02 kB / 3.15 GB, free: 92.82 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/7.587, allocations: 0.9768 MB / 3.151 GB, free: 91.83 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/7.587, allocations: 12 kB / 3.151 GB, free: 91.82 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/7.588, allocations: 0 / 3.151 GB, free: 91.82 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/7.588, allocations: 3.984 kB / 3.151 GB, free: 91.82 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004554/7.592, allocations: 1.851 MB / 3.153 GB, free: 89.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/7.592, allocations: 0 / 3.153 GB, free: 89.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/7.593, allocations: 155.7 kB / 3.153 GB, free: 89.75 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008229/7.594, allocations: 80.78 kB / 3.153 GB, free: 89.67 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/7.594, allocations: 23.98 kB / 3.153 GB, free: 89.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/7.597, allocations: 1.54 MB / 3.155 GB, free: 87.97 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/7.597, allocations: 0 / 3.155 GB, free: 87.97 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/7.599, allocations: 0.8688 MB / 3.155 GB, free: 87.08 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005541/7.6, allocations: 279.8 kB / 3.156 GB, free: 86.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/7.6, allocations: 19.98 kB / 3.156 GB, free: 86.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009884/7.601, allocations: 67.95 kB / 3.156 GB, free: 86.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/7.601, allocations: 56.69 kB / 3.156 GB, free: 86.64 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/7.601, allocations: 35.98 kB / 3.156 GB, free: 86.61 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008059/7.602, allocations: 467.1 kB / 3.156 GB, free: 86.16 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.31e-07/7.602, allocations: 0 / 3.156 GB, free: 86.16 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001372/7.603, allocations: 335.1 kB / 3.157 GB, free: 85.83 MB / 0.8698 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 (86): * Single equations (assignments): 83 * 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.004844/7.608, allocations: 2.306 MB / 3.159 GB, free: 83.64 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002071/7.61, allocations: 0.6823 MB / 3.159 GB, free: 82.94 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/7.61, allocations: 0 / 3.159 GB, free: 82.94 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/7.612, allocations: 471.1 kB / 3.16 GB, free: 82.47 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/7.613, allocations: 236.5 kB / 3.16 GB, free: 82.24 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/7.619, allocations: 1.532 MB / 3.162 GB, free: 80.67 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/7.62, allocations: 1.02 MB / 3.163 GB, free: 79.62 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001341/7.621, allocations: 250 kB / 3.163 GB, free: 79.38 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006691/7.622, allocations: 351.3 kB / 3.163 GB, free: 79.04 MB / 0.8698 GB Notification: Performance of SimCode: time 1.232e-06/7.622, allocations: 0 / 3.163 GB, free: 79.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08295/7.705, allocations: 30.42 MB / 3.193 GB, free: 48.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/7.705, allocations: 258.5 kB / 3.193 GB, free: 48.5 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_functions.o] Error 1