Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.953/2.953, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001634/0.001634, allocations: 173.1 kB / 370.8 MB, free: 10.87 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.631/2.631, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001151, allocations: 86.08 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005122/0.0005125, allocations: 10.72 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.249, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005524/0.2545, allocations: 3.487 MB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9129/1.168, allocations: 127.2 MB / 1.106 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008352/1.168, allocations: 13.53 kB / 1.106 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004079/1.169, allocations: 69.94 kB / 1.106 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002178/1.171, allocations: 422.4 kB / 1.106 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002807/1.174, allocations: 0.5963 MB / 1.107 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002158/1.176, allocations: 0.7337 MB / 1.108 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/1.177, allocations: 457.8 kB / 1.108 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009477/1.178, allocations: 294.2 kB / 1.108 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006588/1.179, allocations: 291.6 kB / 1.109 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/1.179, allocations: 21.03 kB / 1.109 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/1.18, allocations: 244.1 kB / 1.109 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/1.18, allocations: 167.1 kB / 1.109 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003622/1.181, allocations: 178 kB / 1.109 GB, free: 17.25 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/1.184, allocations: 1.028 MB / 1.11 GB, free: 17.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.184, allocations: 2.969 kB / 1.11 GB, free: 17.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.856e-06/1.184, allocations: 0 / 1.11 GB, free: 17.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.66e-05/1.184, allocations: 0 / 1.11 GB, free: 17.17 MB / 0.698 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.004013/1.188, allocations: 1.111 MB / 1.111 GB, free: 16.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/1.188, allocations: 9.156 kB / 1.111 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005418/1.188, allocations: 133.7 kB / 1.111 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/1.19, allocations: 205 kB / 1.112 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/1.193, allocations: 0.6826 MB / 1.112 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.914e-05/1.193, allocations: 57.39 kB / 1.112 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/1.193, allocations: 73.34 kB / 1.112 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/1.196, allocations: 0.863 MB / 1.113 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/1.196, allocations: 0 / 1.113 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/1.196, allocations: 32.09 kB / 1.113 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/1.196, allocations: 27.42 kB / 1.113 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/1.2, allocations: 1.077 MB / 1.114 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007376/1.207, allocations: 2.413 MB / 1.117 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003812/1.211, allocations: 0.8185 MB / 1.118 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/1.211, allocations: 34.47 kB / 1.118 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/1.213, allocations: 444.9 kB / 1.118 GB, free: 14.96 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.567e-06/1.213, allocations: 0 / 1.118 GB, free: 14.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005077/1.218, allocations: 1.13 MB / 1.119 GB, free: 14.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.218, allocations: 189.1 kB / 1.119 GB, free: 14.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/1.219, allocations: 0.5663 MB / 1.12 GB, free: 14.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002782/1.219, allocations: 39.02 kB / 1.12 GB, free: 14.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/1.22, allocations: 369.8 kB / 1.12 GB, free: 14.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/1.22, allocations: 243.9 kB / 1.12 GB, free: 14.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.567e-05/1.22, allocations: 12.66 kB / 1.121 GB, free: 14.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002036/1.221, allocations: 379.9 kB / 1.121 GB, free: 13.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009051/1.221, allocations: 234.6 kB / 1.121 GB, free: 13.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/1.222, allocations: 332.1 kB / 1.121 GB, free: 13.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009661/1.223, allocations: 276.4 kB / 1.122 GB, free: 13.63 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.223, allocations: 4 kB / 1.122 GB, free: 13.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003225/1.227, allocations: 0.7497 MB / 1.122 GB, free: 13.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/1.227, allocations: 6.188 kB / 1.122 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/1.227, allocations: 0 / 1.122 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009813/1.228, allocations: 91.7 kB / 1.123 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/1.229, allocations: 142.9 kB / 1.123 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/1.232, allocations: 1.534 MB / 1.124 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/1.234, allocations: 82.5 kB / 1.124 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/1.234, allocations: 30.31 kB / 1.124 GB, free: 12.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0009405/1.235, allocations: 246.9 kB / 1.124 GB, free: 12.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/1.235, allocations: 78.92 kB / 1.125 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/1.24, allocations: 1.044 MB / 1.126 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/1.24, allocations: 11.59 kB / 1.126 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.24, allocations: 1.859 kB / 1.126 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.188e-05/1.24, allocations: 4.359 kB / 1.126 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/1.242, allocations: 0.8607 MB / 1.126 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.242, allocations: 0 / 1.126 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/1.244, allocations: 153.4 kB / 1.127 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009275/1.245, allocations: 85.53 kB / 1.127 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/1.245, allocations: 22.59 kB / 1.127 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/1.248, allocations: 1.566 MB / 1.128 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.248, allocations: 2.156 kB / 1.128 GB, free: 10.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/1.251, allocations: 0.8646 MB / 1.129 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000779/1.252, allocations: 278 kB / 1.129 GB, free: 10.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.252, allocations: 20.7 kB / 1.129 GB, free: 10 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.253, allocations: 80.17 kB / 1.129 GB, free: 9.992 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/1.254, allocations: 62.88 kB / 1.129 GB, free: 9.984 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.254, allocations: 30.28 kB / 1.13 GB, free: 9.984 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008904/1.255, allocations: 415.4 kB / 1.13 GB, free: 9.883 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.41e-07/1.255, allocations: 0 / 1.13 GB, free: 9.883 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001479/1.256, allocations: 266.1 kB / 1.13 GB, free: 9.836 MB / 0.698 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.005602/1.262, allocations: 1.872 MB / 1.132 GB, free: 9.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002983/1.265, allocations: 0.7514 MB / 1.133 GB, free: 8.793 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.265, allocations: 1.562 kB / 1.133 GB, free: 8.793 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001602/1.267, allocations: 0.4961 MB / 1.133 GB, free: 8.605 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/1.269, allocations: 241.9 kB / 1.133 GB, free: 8.531 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/1.286, allocations: 5.07 MB / 1.138 GB, free: 6.082 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008683/1.287, allocations: 1.013 MB / 1.139 GB, free: 5.238 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001764/1.289, allocations: 262.9 kB / 1.14 GB, free: 5.105 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009313/1.289, allocations: 338.4 kB / 1.14 GB, free: 5.062 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/1.289, allocations: 1.031 kB / 1.14 GB, free: 5.062 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08345/1.373, allocations: 19.74 MB / 1.159 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004306/1.373, allocations: 292.2 kB / 1.16 GB, free: 11.23 MB / 0.7136 GB Error: Error building simulator. Build log: clang -Os -fPIC -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.c:7: In file included from ./Buildings_8_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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -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.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_functions.o] Error 1