Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.792/1.792, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001152/0.001152, allocations: 183.3 kB / 371.6 MB, free: 3.367 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.471/1.471, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008782/0.0008783, allocations: 92.92 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.154e-05/5.168e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2864, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.799/7.086, allocations: 2.073 GB / 3.053 GB, free: 122.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/7.086, allocations: 96.27 kB / 3.053 GB, free: 122.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1188/7.205, allocations: 57.45 MB / 3.109 GB, free: 73.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.013e-06/7.205, allocations: 0 / 3.109 GB, free: 73.04 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.019e-05/7.205, allocations: 23.94 kB / 3.109 GB, free: 73.01 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.001646/7.207, allocations: 1.034 MB / 3.11 GB, free: 71.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/7.207, allocations: 8.031 kB / 3.11 GB, free: 71.92 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/7.207, allocations: 122.8 kB / 3.11 GB, free: 71.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000816/7.208, allocations: 186.5 kB / 3.11 GB, free: 71.61 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/7.209, allocations: 0.6043 MB / 3.111 GB, free: 70.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/7.209, allocations: 61.94 kB / 3.111 GB, free: 70.91 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/7.209, allocations: 76 kB / 3.111 GB, free: 70.83 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/7.21, allocations: 0.8014 MB / 3.112 GB, free: 69.99 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/7.21, allocations: 0 / 3.112 GB, free: 69.99 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/7.21, allocations: 32 kB / 3.112 GB, free: 69.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/7.21, allocations: 20.52 kB / 3.112 GB, free: 69.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/7.211, allocations: 1.015 MB / 3.113 GB, free: 68.92 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003004/7.214, allocations: 2.345 MB / 3.115 GB, free: 66.51 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008792/7.215, allocations: 0.6688 MB / 3.116 GB, free: 65.83 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000314/7.215, allocations: 263.3 kB / 3.116 GB, free: 65.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.562e-05/7.215, allocations: 32.59 kB / 3.116 GB, free: 65.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005474/7.216, allocations: 401.2 kB / 3.116 GB, free: 65.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 1.853e-06/7.216, allocations: 0 / 3.116 GB, free: 65.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.001454/7.218, allocations: 0.6765 MB / 3.117 GB, free: 64.44 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.624e-05/7.218, allocations: 240.1 kB / 3.117 GB, free: 64.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/7.218, allocations: 0.5697 MB / 3.118 GB, free: 63.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.351e-05/7.218, allocations: 37.7 kB / 3.118 GB, free: 63.54 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/7.219, allocations: 368.2 kB / 3.118 GB, free: 63.17 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/7.219, allocations: 240.6 kB / 3.119 GB, free: 62.93 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/7.219, allocations: 12 kB / 3.119 GB, free: 62.92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/7.219, allocations: 378.8 kB / 3.119 GB, free: 62.54 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/7.219, allocations: 198.4 kB / 3.119 GB, free: 62.35 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/7.219, allocations: 301.1 kB / 3.119 GB, free: 62.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/7.22, allocations: 242 kB / 3.12 GB, free: 61.79 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/7.22, allocations: 0 / 3.12 GB, free: 61.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001307/7.221, allocations: 0.6798 MB / 3.12 GB, free: 61.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/7.221, allocations: 7.953 kB / 3.12 GB, free: 61.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/7.221, allocations: 0 / 3.12 GB, free: 61.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/7.222, allocations: 84.83 kB / 3.12 GB, free: 61.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/7.222, allocations: 139.8 kB / 3.12 GB, free: 60.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/7.224, allocations: 1.514 MB / 3.122 GB, free: 59.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/7.225, allocations: 79.34 kB / 3.122 GB, free: 59.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/7.225, allocations: 24.73 kB / 3.122 GB, free: 59.11 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 (74): * Single equations (assignments): 73 * 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.0001535/7.225, allocations: 148.9 kB / 3.122 GB, free: 58.96 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.895e-05/7.225, allocations: 75.11 kB / 3.122 GB, free: 58.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/7.227, allocations: 0.9263 MB / 3.123 GB, free: 57.95 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/7.227, allocations: 12 kB / 3.123 GB, free: 57.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/7.227, allocations: 4 kB / 3.123 GB, free: 57.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/7.227, allocations: 3.984 kB / 3.123 GB, free: 57.93 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000857/7.228, allocations: 0.8444 MB / 3.124 GB, free: 57.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/7.228, allocations: 1.031 kB / 3.124 GB, free: 57.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/7.228, allocations: 135.9 kB / 3.124 GB, free: 56.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/7.229, allocations: 88.7 kB / 3.124 GB, free: 56.81 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/7.229, allocations: 23.98 kB / 3.124 GB, free: 56.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/7.23, allocations: 1.54 MB / 3.126 GB, free: 55.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/7.23, allocations: 0 / 3.126 GB, free: 55.11 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/7.232, allocations: 0.7856 MB / 3.127 GB, free: 54.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/7.232, allocations: 279.8 kB / 3.127 GB, free: 54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/7.232, allocations: 16 kB / 3.127 GB, free: 53.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/7.232, allocations: 67.95 kB / 3.127 GB, free: 53.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/7.233, allocations: 60.64 kB / 3.127 GB, free: 53.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.337e-05/7.233, allocations: 33.02 kB / 3.127 GB, free: 53.83 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005194/7.233, allocations: 463.1 kB / 3.127 GB, free: 53.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/7.233, allocations: 7.938 kB / 3.127 GB, free: 53.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009506/7.234, allocations: 319.2 kB / 3.128 GB, free: 53.06 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 (82): * Single equations (assignments): 79 * 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.003226/7.237, allocations: 2.221 MB / 3.13 GB, free: 50.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001128/7.239, allocations: 0.6669 MB / 3.131 GB, free: 50.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/7.239, allocations: 4 kB / 3.131 GB, free: 50.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006016/7.239, allocations: 458.9 kB / 3.131 GB, free: 49.79 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/7.24, allocations: 241.1 kB / 3.131 GB, free: 49.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/7.244, allocations: 1.501 MB / 3.133 GB, free: 48.02 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/7.244, allocations: 1.004 MB / 3.134 GB, free: 46.98 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008058/7.245, allocations: 250 kB / 3.134 GB, free: 46.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/7.245, allocations: 339.3 kB / 3.134 GB, free: 46.4 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/7.245, allocations: 0 / 3.134 GB, free: 46.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05403/7.299, allocations: 30.13 MB / 3.164 GB, free: 16.53 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/7.3, allocations: 275 kB / 3.164 GB, free: 16.18 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_DiffuseIsotropic.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_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_DiffuseIsotropic_functions.o Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c In file included from Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_functions.c:2: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_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_DiffuseIsotropic_functions.c:7: In file included from ./Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_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_DiffuseIsotropic_functions.o] Error 1