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.71/1.71, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001054/0.001054, allocations: 184 kB / 371.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0008715/0.0008716, allocations: 93.41 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.022e-05/8.074e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2946, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.66/6.955, allocations: 2.073 GB / 3.053 GB, free: 123 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/6.955, allocations: 89.41 kB / 3.053 GB, free: 123 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1387/7.094, allocations: 62.54 MB / 3.114 GB, free: 68.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.244e-06/7.094, allocations: 0 / 3.114 GB, free: 68.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.675e-05/7.094, allocations: 24 kB / 3.114 GB, free: 68.07 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.001782/7.096, allocations: 1.042 MB / 3.115 GB, free: 66.98 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/7.096, allocations: 16.03 kB / 3.115 GB, free: 66.96 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/7.096, allocations: 122.8 kB / 3.115 GB, free: 66.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009731/7.097, allocations: 202.5 kB / 3.115 GB, free: 66.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009248/7.098, allocations: 0.6046 MB / 3.116 GB, free: 65.99 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/7.098, allocations: 58 kB / 3.116 GB, free: 65.94 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.314e-05/7.098, allocations: 76 kB / 3.116 GB, free: 65.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/7.1, allocations: 0.8287 MB / 3.117 GB, free: 64.99 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/7.1, allocations: 0 / 3.117 GB, free: 64.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-05/7.1, allocations: 32 kB / 3.117 GB, free: 64.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/7.1, allocations: 23.95 kB / 3.117 GB, free: 64.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/7.101, allocations: 1.034 MB / 3.118 GB, free: 63.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/7.104, allocations: 2.415 MB / 3.12 GB, free: 61.42 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/7.106, allocations: 0.7771 MB / 3.121 GB, free: 60.64 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/7.106, allocations: 267.2 kB / 3.121 GB, free: 60.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.919e-05/7.107, allocations: 36.8 kB / 3.121 GB, free: 60.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006098/7.107, allocations: 426.4 kB / 3.122 GB, free: 59.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.735e-06/7.107, allocations: 0 / 3.122 GB, free: 59.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001569/7.109, allocations: 0.707 MB / 3.122 GB, free: 59.19 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/7.109, allocations: 252.1 kB / 3.123 GB, free: 58.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006939/7.11, allocations: 0.5592 MB / 3.123 GB, free: 58.33 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/7.11, allocations: 37.7 kB / 3.123 GB, free: 58.29 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/7.11, allocations: 368.3 kB / 3.124 GB, free: 57.92 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/7.11, allocations: 240.5 kB / 3.124 GB, free: 57.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/7.11, allocations: 16 kB / 3.124 GB, free: 57.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001107/7.11, allocations: 374.8 kB / 3.124 GB, free: 57.29 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/7.11, allocations: 205.5 kB / 3.124 GB, free: 57.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/7.111, allocations: 321.1 kB / 3.125 GB, free: 56.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/7.111, allocations: 254 kB / 3.125 GB, free: 56.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/7.111, allocations: 4 kB / 3.125 GB, free: 56.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001364/7.113, allocations: 0.7032 MB / 3.126 GB, free: 55.78 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/7.113, allocations: 4.562 kB / 3.126 GB, free: 55.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/7.113, allocations: 64 / 3.126 GB, free: 55.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/7.113, allocations: 88.77 kB / 3.126 GB, free: 55.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/7.114, allocations: 143.8 kB / 3.126 GB, free: 55.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/7.116, allocations: 1.522 MB / 3.127 GB, free: 53.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/7.116, allocations: 83.58 kB / 3.127 GB, free: 53.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/7.117, allocations: 31.98 kB / 3.128 GB, free: 53.76 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 () * 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.0001958/7.117, allocations: 142.8 kB / 3.128 GB, free: 53.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/7.117, allocations: 79.09 kB / 3.128 GB, free: 53.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/7.119, allocations: 0.9845 MB / 3.129 GB, free: 52.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/7.119, allocations: 8 kB / 3.129 GB, free: 52.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/7.119, allocations: 0 / 3.129 GB, free: 52.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/7.119, allocations: 7.984 kB / 3.129 GB, free: 52.53 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009802/7.12, allocations: 0.8835 MB / 3.13 GB, free: 51.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/7.12, allocations: 0 / 3.13 GB, free: 51.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/7.121, allocations: 145.4 kB / 3.13 GB, free: 51.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/7.121, allocations: 92.64 kB / 3.13 GB, free: 51.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/7.121, allocations: 27.98 kB / 3.13 GB, free: 51.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/7.123, allocations: 1.559 MB / 3.131 GB, free: 49.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/7.123, allocations: 0 / 3.131 GB, free: 49.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/7.124, allocations: 0.8207 MB / 3.132 GB, free: 48.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/7.124, allocations: 279.8 kB / 3.132 GB, free: 48.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.523e-05/7.125, allocations: 19.95 kB / 3.132 GB, free: 48.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/7.125, allocations: 71.94 kB / 3.133 GB, free: 48.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/7.125, allocations: 56.7 kB / 3.133 GB, free: 48.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/7.125, allocations: 31.97 kB / 3.133 GB, free: 48.32 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005536/7.126, allocations: 467.2 kB / 3.133 GB, free: 47.87 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/7.126, allocations: 0 / 3.133 GB, free: 47.87 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001093/7.127, allocations: 331.1 kB / 3.133 GB, free: 47.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) * 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.003586/7.131, allocations: 2.252 MB / 3.136 GB, free: 45.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001295/7.132, allocations: 0.7019 MB / 3.136 GB, free: 44.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/7.132, allocations: 4.125 kB / 3.136 GB, free: 44.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007024/7.133, allocations: 479 kB / 3.137 GB, free: 44.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/7.134, allocations: 236.3 kB / 3.137 GB, free: 43.95 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/7.138, allocations: 1.528 MB / 3.138 GB, free: 42.38 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/7.138, allocations: 1.019 MB / 3.139 GB, free: 41.33 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000875/7.139, allocations: 254 kB / 3.14 GB, free: 41.08 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/7.14, allocations: 339.3 kB / 3.14 GB, free: 40.75 MB / 0.948 GB Notification: Performance of SimCode: time 1.303e-06/7.14, allocations: 0 / 3.14 GB, free: 40.75 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06025/7.2, allocations: 30.79 MB / 3.17 GB, free: 10.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/7.2, allocations: 258.9 kB / 3.17 GB, free: 9.863 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 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: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 -falign-functions -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 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: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_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