Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.202/2.202, allocations: 248.5 MB / 261.1 MB, free: 5.996 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.001439/0.001439, allocations: 178.7 kB / 320.4 MB, free: 15.35 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.892/1.892, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001086/0.001086, allocations: 94.48 kB / 0.6754 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.051e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2067, allocations: 106.2 MB / 0.8907 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.131/7.338, allocations: 2.19 GB / 3.081 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/7.338, allocations: 93.94 kB / 3.081 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.233/7.571, allocations: 62.17 MB / 3.141 GB, free: 86.32 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.964e-06/7.571, allocations: 0 / 3.141 GB, free: 86.32 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.44e-05/7.571, allocations: 35.92 kB / 3.141 GB, free: 86.29 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002382/7.574, allocations: 1.035 MB / 3.142 GB, free: 85.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/7.574, allocations: 11.97 kB / 3.142 GB, free: 85.19 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002178/7.574, allocations: 122.8 kB / 3.143 GB, free: 85.06 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/7.576, allocations: 206.5 kB / 3.143 GB, free: 84.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/7.577, allocations: 0.6075 MB / 3.143 GB, free: 84.21 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.533e-05/7.577, allocations: 54 kB / 3.143 GB, free: 84.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/7.578, allocations: 76 kB / 3.144 GB, free: 84.08 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/7.58, allocations: 0.8326 MB / 3.144 GB, free: 83.21 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/7.58, allocations: 0 / 3.144 GB, free: 83.21 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/7.58, allocations: 32 kB / 3.144 GB, free: 83.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/7.58, allocations: 20 kB / 3.144 GB, free: 83.16 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/7.582, allocations: 1.03 MB / 3.145 GB, free: 82.13 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005978/7.588, allocations: 2.422 MB / 3.148 GB, free: 79.64 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/7.591, allocations: 0.7716 MB / 3.149 GB, free: 78.86 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006519/7.592, allocations: 267.2 kB / 3.149 GB, free: 78.59 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/7.592, allocations: 36.8 kB / 3.149 GB, free: 78.55 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009518/7.593, allocations: 425.3 kB / 3.149 GB, free: 78.12 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.828e-06/7.593, allocations: 0 / 3.149 GB, free: 78.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.002701/7.596, allocations: 0.7071 MB / 3.15 GB, free: 77.41 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/7.596, allocations: 240.1 kB / 3.15 GB, free: 77.12 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/7.597, allocations: 0.562 MB / 3.151 GB, free: 76.55 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002029/7.597, allocations: 41.7 kB / 3.151 GB, free: 76.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/7.598, allocations: 368.2 kB / 3.151 GB, free: 76.14 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/7.598, allocations: 244.5 kB / 3.151 GB, free: 75.89 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/7.598, allocations: 11.94 kB / 3.151 GB, free: 75.88 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000131/7.598, allocations: 378.8 kB / 3.152 GB, free: 75.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000577/7.599, allocations: 209.5 kB / 3.152 GB, free: 75.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/7.599, allocations: 317 kB / 3.152 GB, free: 74.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006568/7.6, allocations: 258 kB / 3.152 GB, free: 74.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/7.6, allocations: 0 / 3.152 GB, free: 74.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002572/7.603, allocations: 0.707 MB / 3.153 GB, free: 73.99 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/7.603, allocations: 8.062 kB / 3.153 GB, free: 73.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/7.603, allocations: 0 / 3.153 GB, free: 73.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009884/7.604, allocations: 88.77 kB / 3.153 GB, free: 73.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/7.605, allocations: 139.8 kB / 3.153 GB, free: 73.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/7.608, allocations: 1.52 MB / 3.155 GB, free: 72.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/7.609, allocations: 87.45 kB / 3.155 GB, free: 72.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/7.609, allocations: 27.98 kB / 3.155 GB, free: 71.98 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 (75): * Single equations (assignments): 74 * 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.0002655/7.609, allocations: 145 kB / 3.155 GB, free: 71.83 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/7.609, allocations: 87.03 kB / 3.155 GB, free: 71.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/7.613, allocations: 0.9768 MB / 3.156 GB, free: 70.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/7.613, allocations: 12 kB / 3.156 GB, free: 70.74 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/7.613, allocations: 0 / 3.156 GB, free: 70.74 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/7.613, allocations: 7.938 kB / 3.156 GB, free: 70.73 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/7.615, allocations: 0.8837 MB / 3.157 GB, free: 69.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/7.615, allocations: 0 / 3.157 GB, free: 69.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/7.616, allocations: 143.8 kB / 3.157 GB, free: 69.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008826/7.617, allocations: 84.77 kB / 3.157 GB, free: 69.57 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/7.617, allocations: 23.98 kB / 3.157 GB, free: 69.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/7.619, allocations: 1.559 MB / 3.159 GB, free: 67.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/7.619, allocations: 3.938 kB / 3.159 GB, free: 67.85 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002712/7.622, allocations: 0.8129 MB / 3.16 GB, free: 67.01 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/7.623, allocations: 287.8 kB / 3.16 GB, free: 66.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/7.623, allocations: 16 kB / 3.16 GB, free: 66.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/7.624, allocations: 71.94 kB / 3.16 GB, free: 66.62 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/7.624, allocations: 60.58 kB / 3.16 GB, free: 66.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/7.624, allocations: 35.97 kB / 3.16 GB, free: 66.53 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008499/7.625, allocations: 463.2 kB / 3.16 GB, free: 66.08 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.6e-07/7.625, allocations: 0 / 3.16 GB, free: 66.08 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001522/7.627, allocations: 335.2 kB / 3.161 GB, free: 65.75 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 (85): * Single equations (assignments): 82 * 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.005035/7.632, allocations: 2.254 MB / 3.163 GB, free: 63.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002128/7.634, allocations: 0.6981 MB / 3.164 GB, free: 62.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/7.634, allocations: 7.938 kB / 3.164 GB, free: 62.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/7.635, allocations: 482.9 kB / 3.164 GB, free: 62.41 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/7.637, allocations: 228.6 kB / 3.164 GB, free: 62.19 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006024/7.643, allocations: 1.528 MB / 3.166 GB, free: 60.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/7.644, allocations: 1.016 MB / 3.167 GB, free: 59.57 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001447/7.645, allocations: 265.9 kB / 3.167 GB, free: 59.31 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007143/7.646, allocations: 339.3 kB / 3.167 GB, free: 58.98 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/7.646, allocations: 0 / 3.167 GB, free: 58.98 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08663/7.732, allocations: 30.81 MB / 3.197 GB, free: 28.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/7.733, allocations: 253.8 kB / 3.198 GB, free: 28.11 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_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_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_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_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_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_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_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o] Error 1