Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.411/2.411, allocations: 248.5 MB / 261 MB, free: 6.059 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.001473/0.001473, allocations: 178 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.922/1.922, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001184/0.001184, allocations: 92.67 kB / 0.6754 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.627e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2183, allocations: 106.3 MB / 0.8907 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.171/7.39, allocations: 2.189 GB / 3.08 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/7.39, allocations: 95.62 kB / 3.08 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2092/7.599, allocations: 56.93 MB / 3.136 GB, free: 92.04 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.334e-06/7.599, allocations: 0 / 3.136 GB, free: 92.04 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.581e-05/7.599, allocations: 20 kB / 3.136 GB, free: 92.02 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.00218/7.601, allocations: 1.023 MB / 3.137 GB, free: 90.95 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/7.601, allocations: 8.031 kB / 3.137 GB, free: 90.94 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/7.602, allocations: 118.7 kB / 3.137 GB, free: 90.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/7.603, allocations: 186.7 kB / 3.137 GB, free: 90.63 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/7.604, allocations: 0.5958 MB / 3.138 GB, free: 90 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/7.604, allocations: 54 kB / 3.138 GB, free: 89.95 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/7.604, allocations: 72 kB / 3.138 GB, free: 89.88 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/7.606, allocations: 0.8014 MB / 3.139 GB, free: 89.03 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/7.606, allocations: 0 / 3.139 GB, free: 89.03 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/7.606, allocations: 39.95 kB / 3.139 GB, free: 88.99 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/7.606, allocations: 20 kB / 3.139 GB, free: 88.97 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/7.609, allocations: 1.003 MB / 3.14 GB, free: 87.97 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005017/7.614, allocations: 2.344 MB / 3.142 GB, free: 85.56 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/7.615, allocations: 0.747 MB / 3.143 GB, free: 84.78 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005708/7.616, allocations: 250.5 kB / 3.143 GB, free: 84.53 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/7.616, allocations: 32.59 kB / 3.143 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008681/7.617, allocations: 393.9 kB / 3.143 GB, free: 84.09 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.868e-06/7.617, allocations: 0 / 3.143 GB, free: 84.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.002522/7.62, allocations: 0.6638 MB / 3.144 GB, free: 83.42 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.861e-05/7.62, allocations: 239.9 kB / 3.144 GB, free: 83.13 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/7.621, allocations: 0.548 MB / 3.145 GB, free: 82.58 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/7.621, allocations: 37.7 kB / 3.145 GB, free: 82.54 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/7.621, allocations: 368.3 kB / 3.145 GB, free: 82.17 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/7.621, allocations: 228.7 kB / 3.145 GB, free: 81.94 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/7.622, allocations: 8 kB / 3.145 GB, free: 81.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001262/7.622, allocations: 378.8 kB / 3.146 GB, free: 81.55 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/7.622, allocations: 189.5 kB / 3.146 GB, free: 81.37 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/7.623, allocations: 301 kB / 3.146 GB, free: 81.05 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006027/7.623, allocations: 238 kB / 3.146 GB, free: 80.82 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/7.623, allocations: 0 / 3.146 GB, free: 80.82 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002387/7.626, allocations: 0.6603 MB / 3.147 GB, free: 80.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/7.626, allocations: 15.89 kB / 3.147 GB, free: 80.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/7.626, allocations: 0 / 3.147 GB, free: 80.13 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009547/7.627, allocations: 84.78 kB / 3.147 GB, free: 80.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/7.628, allocations: 131.8 kB / 3.147 GB, free: 79.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/7.63, allocations: 1.525 MB / 3.149 GB, free: 78.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/7.632, allocations: 75.47 kB / 3.149 GB, free: 78.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/7.632, allocations: 35.97 kB / 3.149 GB, free: 78.14 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.0002365/7.632, allocations: 136.9 kB / 3.149 GB, free: 78 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/7.632, allocations: 75.11 kB / 3.149 GB, free: 77.92 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/7.635, allocations: 0.9142 MB / 3.15 GB, free: 76.99 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/7.635, allocations: 15.94 kB / 3.15 GB, free: 76.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/7.635, allocations: 0 / 3.15 GB, free: 76.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/7.635, allocations: 7.922 kB / 3.15 GB, free: 76.97 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004249/7.64, allocations: 1.8 MB / 3.152 GB, free: 75.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/7.64, allocations: 4.047 kB / 3.152 GB, free: 75.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/7.641, allocations: 143.8 kB / 3.152 GB, free: 74.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008249/7.641, allocations: 84.73 kB / 3.152 GB, free: 74.88 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/7.642, allocations: 23.98 kB / 3.152 GB, free: 74.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/7.644, allocations: 1.536 MB / 3.153 GB, free: 73.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/7.644, allocations: 0 / 3.153 GB, free: 73.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/7.647, allocations: 0.8455 MB / 3.154 GB, free: 72.32 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005518/7.647, allocations: 275.8 kB / 3.155 GB, free: 72.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/7.647, allocations: 16 kB / 3.155 GB, free: 72.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009744/7.648, allocations: 59.95 kB / 3.155 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/7.648, allocations: 60.69 kB / 3.155 GB, free: 71.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-05/7.649, allocations: 27.98 kB / 3.155 GB, free: 71.86 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007818/7.649, allocations: 463.1 kB / 3.155 GB, free: 71.41 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.1e-07/7.649, allocations: 0 / 3.155 GB, free: 71.41 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001304/7.651, allocations: 323.2 kB / 3.155 GB, free: 71.09 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 (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.004772/7.655, allocations: 2.284 MB / 3.158 GB, free: 68.93 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001975/7.657, allocations: 0.659 MB / 3.158 GB, free: 68.25 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/7.658, allocations: 4 kB / 3.158 GB, free: 68.25 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/7.659, allocations: 455 kB / 3.159 GB, free: 67.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/7.66, allocations: 240.6 kB / 3.159 GB, free: 67.56 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005738/7.666, allocations: 1.489 MB / 3.16 GB, free: 66.03 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/7.667, allocations: 1.004 MB / 3.161 GB, free: 65 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001279/7.668, allocations: 253.8 kB / 3.162 GB, free: 64.75 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/7.669, allocations: 335.3 kB / 3.162 GB, free: 64.43 MB / 0.8698 GB Notification: Performance of SimCode: time 1.452e-06/7.669, allocations: 0 / 3.162 GB, free: 64.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08341/7.752, allocations: 30 MB / 3.191 GB, free: 34.67 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/7.752, allocations: 253.5 kB / 3.192 GB, free: 34.34 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_SolarHourAngle.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_SolarHourAngle_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_SolarHourAngle_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_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_SolarHourAngle_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_functions.o] Error 1