Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.6 MB / 307.5 MB, free: 5.254 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.001249/0.001249, allocations: 181 kB / 377.1 MB, free: 1.574 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.031/2.031, allocations: 205.4 MB / 0.6366 GB, free: 8.648 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 90.55 kB / 0.7509 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.0004251, allocations: 8 kB / 0.8749 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2842, allocations: 116.3 MB / 0.9884 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.799/6.084, allocations: 2.073 GB / 3.061 GB, free: 147 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/6.084, allocations: 91.95 kB / 3.062 GB, free: 146.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1344/6.218, allocations: 62.86 MB / 3.123 GB, free: 83.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.199e-06/6.218, allocations: 0 / 3.123 GB, free: 83.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00016/6.219, allocations: 27.92 kB / 3.123 GB, free: 83.95 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002799/6.221, allocations: 1.156 MB / 3.124 GB, free: 82.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/6.222, allocations: 8.031 kB / 3.124 GB, free: 82.73 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/6.222, allocations: 131.6 kB / 3.124 GB, free: 82.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/6.223, allocations: 198.6 kB / 3.124 GB, free: 82.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009698/6.224, allocations: 0.6114 MB / 3.125 GB, free: 81.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/6.224, allocations: 61.98 kB / 3.125 GB, free: 81.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/6.224, allocations: 80 kB / 3.125 GB, free: 81.61 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/6.225, allocations: 0.8559 MB / 3.126 GB, free: 80.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/6.225, allocations: 0 / 3.126 GB, free: 80.71 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/6.225, allocations: 36 kB / 3.126 GB, free: 80.68 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/6.225, allocations: 24.98 kB / 3.126 GB, free: 80.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/6.227, allocations: 1.085 MB / 3.127 GB, free: 79.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/6.23, allocations: 2.407 MB / 3.129 GB, free: 77.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/6.232, allocations: 0.8353 MB / 3.13 GB, free: 76.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.065e-05/6.232, allocations: 24.61 kB / 3.13 GB, free: 76.23 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000709/6.233, allocations: 460.4 kB / 3.131 GB, free: 75.76 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.465e-06/6.233, allocations: 0 / 3.131 GB, free: 75.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002899/6.236, allocations: 1.144 MB / 3.132 GB, free: 74.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.556e-05/6.236, allocations: 244 kB / 3.132 GB, free: 74.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006717/6.237, allocations: 0.5657 MB / 3.133 GB, free: 73.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/6.237, allocations: 41.7 kB / 3.133 GB, free: 73.68 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/6.237, allocations: 365.4 kB / 3.133 GB, free: 73.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/6.237, allocations: 236.5 kB / 3.133 GB, free: 73.08 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/6.237, allocations: 12 kB / 3.133 GB, free: 73.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001055/6.237, allocations: 382.8 kB / 3.134 GB, free: 72.69 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/6.238, allocations: 229.2 kB / 3.134 GB, free: 72.46 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/6.238, allocations: 343.6 kB / 3.134 GB, free: 72.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/6.239, allocations: 283.1 kB / 3.134 GB, free: 71.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/6.239, allocations: 0 / 3.134 GB, free: 71.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001605/6.24, allocations: 0.7588 MB / 3.135 GB, free: 71.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/6.24, allocations: 4 kB / 3.135 GB, free: 71.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/6.24, allocations: 0.75 kB / 3.135 GB, free: 71.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/6.241, allocations: 80.84 kB / 3.135 GB, free: 70.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/6.242, allocations: 139.8 kB / 3.135 GB, free: 70.83 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/6.243, allocations: 1.548 MB / 3.137 GB, free: 69.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/6.244, allocations: 83.5 kB / 3.137 GB, free: 69.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/6.244, allocations: 27.97 kB / 3.137 GB, free: 69.02 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 (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.0004336/6.245, allocations: 251.3 kB / 3.137 GB, free: 68.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/6.245, allocations: 75.11 kB / 3.137 GB, free: 68.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/6.247, allocations: 1.048 MB / 3.138 GB, free: 67.63 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/6.247, allocations: 12 kB / 3.138 GB, free: 67.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/6.247, allocations: 3.938 kB / 3.138 GB, free: 67.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/6.247, allocations: 4.828 kB / 3.138 GB, free: 67.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008794/6.248, allocations: 0.88 MB / 3.139 GB, free: 66.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/6.248, allocations: 0 / 3.139 GB, free: 66.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005693/6.248, allocations: 147.8 kB / 3.139 GB, free: 66.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/6.249, allocations: 84.77 kB / 3.139 GB, free: 66.45 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/6.249, allocations: 23.98 kB / 3.139 GB, free: 66.43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/6.25, allocations: 1.575 MB / 3.141 GB, free: 64.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/6.25, allocations: 4.031 kB / 3.141 GB, free: 64.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/6.252, allocations: 0.8733 MB / 3.142 GB, free: 63.81 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/6.252, allocations: 284.9 kB / 3.142 GB, free: 63.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/6.253, allocations: 16 kB / 3.142 GB, free: 63.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/6.253, allocations: 75.89 kB / 3.142 GB, free: 63.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/6.253, allocations: 56.92 kB / 3.142 GB, free: 63.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.321e-05/6.253, allocations: 31.97 kB / 3.142 GB, free: 63.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005024/6.254, allocations: 475 kB / 3.143 GB, free: 62.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.81e-07/6.254, allocations: 0 / 3.143 GB, free: 62.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001034/6.255, allocations: 335.2 kB / 3.143 GB, free: 62.55 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 (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.003681/6.259, allocations: 2.34 MB / 3.145 GB, free: 60.32 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001501/6.26, allocations: 0.7672 MB / 3.146 GB, free: 59.54 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/6.26, allocations: 0 / 3.146 GB, free: 59.54 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007693/6.261, allocations: 0.4964 MB / 3.147 GB, free: 59.02 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/6.262, allocations: 230.4 kB / 3.147 GB, free: 58.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008127/6.27, allocations: 5.001 MB / 3.152 GB, free: 53.75 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/6.271, allocations: 1.011 MB / 3.153 GB, free: 52.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00092/6.271, allocations: 258 kB / 3.153 GB, free: 52.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004395/6.272, allocations: 343.3 kB / 3.153 GB, free: 52.12 MB / 0.948 GB Notification: Performance of SimCode: time 1.523e-06/6.272, allocations: 4 kB / 3.153 GB, free: 52.11 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04901/6.321, allocations: 29.09 MB / 3.182 GB, free: 23.29 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002876/6.321, allocations: 278.4 kB / 3.182 GB, free: 22.93 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_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_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o] Error 1