Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.261/2.261, allocations: 248.5 MB / 261.1 MB, free: 5.941 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.001492/0.001492, allocations: 176.6 kB / 320.4 MB, free: 15.34 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.923/1.923, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001157/0.001157, allocations: 104.1 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.386e-05, allocations: 0 / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2073, allocations: 106.3 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.211/7.418, allocations: 2.189 GB / 3.08 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/7.419, allocations: 88.88 kB / 3.08 GB, free: 159 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2428/7.662, allocations: 61.83 MB / 3.141 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.354e-06/7.662, allocations: 0 / 3.141 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.022e-05/7.662, allocations: 24 kB / 3.141 GB, free: 102.8 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002247/7.664, allocations: 1.031 MB / 3.142 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/7.664, allocations: 12.03 kB / 3.142 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/7.664, allocations: 118.7 kB / 3.142 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/7.666, allocations: 182.6 kB / 3.142 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/7.667, allocations: 0.5998 MB / 3.143 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/7.667, allocations: 57.98 kB / 3.143 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/7.667, allocations: 79.94 kB / 3.143 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/7.669, allocations: 0.8053 MB / 3.143 GB, free: 99.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/7.669, allocations: 3.953 kB / 3.143 GB, free: 99.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/7.669, allocations: 32 kB / 3.143 GB, free: 99.71 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/7.669, allocations: 20 kB / 3.144 GB, free: 99.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/7.671, allocations: 1.011 MB / 3.145 GB, free: 98.69 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005321/7.677, allocations: 2.387 MB / 3.147 GB, free: 96.23 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/7.678, allocations: 0.6871 MB / 3.148 GB, free: 95.53 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/7.679, allocations: 254.5 kB / 3.148 GB, free: 95.28 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/7.679, allocations: 36.59 kB / 3.148 GB, free: 95.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009259/7.68, allocations: 406.9 kB / 3.148 GB, free: 94.83 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.537e-06/7.68, allocations: 0 / 3.148 GB, free: 94.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.002547/7.683, allocations: 0.6824 MB / 3.149 GB, free: 94.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.758e-05/7.683, allocations: 239.9 kB / 3.149 GB, free: 93.85 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/7.684, allocations: 0.5658 MB / 3.15 GB, free: 93.28 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/7.684, allocations: 37.7 kB / 3.15 GB, free: 93.23 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/7.685, allocations: 368.3 kB / 3.15 GB, free: 92.87 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/7.685, allocations: 224.7 kB / 3.15 GB, free: 92.64 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/7.685, allocations: 16 kB / 3.15 GB, free: 92.63 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001199/7.685, allocations: 382.8 kB / 3.151 GB, free: 92.25 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/7.685, allocations: 197.5 kB / 3.151 GB, free: 92.05 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/7.686, allocations: 313 kB / 3.151 GB, free: 91.72 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/7.687, allocations: 246 kB / 3.151 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/7.687, allocations: 0 / 3.151 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002485/7.689, allocations: 0.6913 MB / 3.152 GB, free: 90.78 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/7.689, allocations: 8 kB / 3.152 GB, free: 90.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/7.689, allocations: 0 / 3.152 GB, free: 90.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009709/7.69, allocations: 80.84 kB / 3.152 GB, free: 90.69 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/7.692, allocations: 135.8 kB / 3.152 GB, free: 90.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/7.694, allocations: 1.529 MB / 3.154 GB, free: 88.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/7.695, allocations: 75.41 kB / 3.154 GB, free: 88.81 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.043e-05/7.695, allocations: 27.98 kB / 3.154 GB, free: 88.78 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 (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.0002497/7.696, allocations: 140.9 kB / 3.154 GB, free: 88.64 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/7.696, allocations: 79.02 kB / 3.154 GB, free: 88.56 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/7.699, allocations: 0.9535 MB / 3.155 GB, free: 87.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/7.699, allocations: 12 kB / 3.155 GB, free: 87.58 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/7.699, allocations: 4 kB / 3.155 GB, free: 87.57 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/7.699, allocations: 7.969 kB / 3.155 GB, free: 87.57 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/7.701, allocations: 0.8531 MB / 3.156 GB, free: 86.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/7.701, allocations: 0 / 3.156 GB, free: 86.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/7.702, allocations: 139.8 kB / 3.156 GB, free: 86.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008578/7.703, allocations: 80.78 kB / 3.156 GB, free: 86.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/7.703, allocations: 23.98 kB / 3.156 GB, free: 86.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/7.705, allocations: 1.563 MB / 3.158 GB, free: 84.72 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/7.705, allocations: 0 / 3.158 GB, free: 84.72 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/7.708, allocations: 0.7895 MB / 3.158 GB, free: 83.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005744/7.708, allocations: 283.8 kB / 3.159 GB, free: 83.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/7.709, allocations: 16 kB / 3.159 GB, free: 83.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009342/7.71, allocations: 71.91 kB / 3.159 GB, free: 83.52 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/7.71, allocations: 60.69 kB / 3.159 GB, free: 83.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.482e-05/7.71, allocations: 27.98 kB / 3.159 GB, free: 83.44 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000819/7.711, allocations: 467.2 kB / 3.159 GB, free: 82.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.91e-07/7.711, allocations: 0 / 3.159 GB, free: 82.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001339/7.712, allocations: 323.3 kB / 3.16 GB, free: 82.67 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.conTimMin.tNext,weaDat.conTim.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.004753/7.717, allocations: 2.225 MB / 3.162 GB, free: 80.56 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001931/7.719, allocations: 0.6745 MB / 3.162 GB, free: 79.87 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/7.719, allocations: 4.125 kB / 3.162 GB, free: 79.87 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/7.72, allocations: 467 kB / 3.163 GB, free: 79.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/7.722, allocations: 236.6 kB / 3.163 GB, free: 79.17 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005827/7.728, allocations: 1.513 MB / 3.165 GB, free: 77.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/7.728, allocations: 1.008 MB / 3.165 GB, free: 76.58 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001341/7.73, allocations: 253.9 kB / 3.166 GB, free: 76.33 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000658/7.73, allocations: 343.3 kB / 3.166 GB, free: 76 MB / 0.8698 GB Notification: Performance of SimCode: time 1.743e-06/7.73, allocations: 0 / 3.166 GB, free: 76 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09076/7.821, allocations: 30.38 MB / 3.196 GB, free: 45.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/7.821, allocations: 237.9 kB / 3.196 GB, free: 45.52 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_Examples_ZenithAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c:7: In file included from ./Buildings_7_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: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_Examples_ZenithAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_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_Examples_ZenithAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_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_Examples_ZenithAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.o] Error 1