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.79/1.79, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001664/0.001664, allocations: 191.3 kB / 377.1 MB, free: 1.527 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.095/2.095, allocations: 205.4 MB / 0.6366 GB, free: 8.586 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.00103/0.00103, allocations: 101.7 kB / 0.7509 GB, free: 63.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3023, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.753/6.055, allocations: 2.073 GB / 3.061 GB, free: 146.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003911/6.056, allocations: 96.61 kB / 3.061 GB, free: 146.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1255/6.181, allocations: 57.77 MB / 3.118 GB, free: 88.96 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.557e-06/6.181, allocations: 0 / 3.118 GB, free: 88.96 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000132/6.181, allocations: 20 kB / 3.118 GB, free: 88.94 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.003104/6.184, allocations: 1.152 MB / 3.119 GB, free: 87.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/6.185, allocations: 12.03 kB / 3.119 GB, free: 87.72 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003433/6.185, allocations: 122.8 kB / 3.119 GB, free: 87.59 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/6.186, allocations: 190.5 kB / 3.119 GB, free: 87.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/6.187, allocations: 0.5997 MB / 3.12 GB, free: 86.76 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/6.187, allocations: 58 kB / 3.12 GB, free: 86.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/6.188, allocations: 75.98 kB / 3.12 GB, free: 86.63 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/6.189, allocations: 0.8335 MB / 3.121 GB, free: 85.76 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/6.189, allocations: 0 / 3.121 GB, free: 85.76 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.81e-05/6.189, allocations: 32 kB / 3.121 GB, free: 85.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/6.189, allocations: 23.95 kB / 3.121 GB, free: 85.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/6.191, allocations: 1.057 MB / 3.122 GB, free: 84.64 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004039/6.195, allocations: 2.344 MB / 3.124 GB, free: 82.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/6.196, allocations: 0.7152 MB / 3.125 GB, free: 81.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-05/6.196, allocations: 32.52 kB / 3.125 GB, free: 81.47 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006893/6.197, allocations: 420.2 kB / 3.125 GB, free: 81.05 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 2.785e-06/6.197, allocations: 0 / 3.125 GB, free: 81.05 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.002888/6.2, allocations: 1.085 MB / 3.126 GB, free: 79.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/6.2, allocations: 251.9 kB / 3.127 GB, free: 79.63 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/6.201, allocations: 0.5619 MB / 3.127 GB, free: 79.07 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/6.201, allocations: 45.69 kB / 3.127 GB, free: 79.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/6.201, allocations: 360.3 kB / 3.128 GB, free: 78.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/6.201, allocations: 236.5 kB / 3.128 GB, free: 78.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/6.201, allocations: 12 kB / 3.128 GB, free: 78.41 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001362/6.202, allocations: 378.8 kB / 3.128 GB, free: 78.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/6.202, allocations: 222.1 kB / 3.128 GB, free: 77.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004494/6.202, allocations: 323.6 kB / 3.129 GB, free: 77.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/6.203, allocations: 263.1 kB / 3.129 GB, free: 77.22 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/6.203, allocations: 0 / 3.129 GB, free: 77.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001627/6.205, allocations: 0.7159 MB / 3.13 GB, free: 76.49 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/6.205, allocations: 10.5 kB / 3.13 GB, free: 76.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/6.205, allocations: 3.953 kB / 3.13 GB, free: 76.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006255/6.205, allocations: 88.77 kB / 3.13 GB, free: 76.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005495/6.206, allocations: 131.8 kB / 3.13 GB, free: 76.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/6.208, allocations: 1.525 MB / 3.131 GB, free: 74.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006481/6.208, allocations: 76.45 kB / 3.131 GB, free: 74.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.011e-05/6.208, allocations: 27.98 kB / 3.131 GB, free: 74.49 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 (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.0004776/6.209, allocations: 243.2 kB / 3.132 GB, free: 74.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/6.209, allocations: 83.06 kB / 3.132 GB, free: 74.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/6.211, allocations: 0.9896 MB / 3.133 GB, free: 73.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/6.211, allocations: 8 kB / 3.133 GB, free: 73.15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/6.211, allocations: 0 / 3.133 GB, free: 73.15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/6.211, allocations: 3.984 kB / 3.133 GB, free: 73.15 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/6.212, allocations: 0.8525 MB / 3.134 GB, free: 72.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/6.212, allocations: 3.984 kB / 3.134 GB, free: 72.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/6.213, allocations: 141 kB / 3.134 GB, free: 72.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004987/6.213, allocations: 80.78 kB / 3.134 GB, free: 72.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/6.213, allocations: 27.98 kB / 3.134 GB, free: 72 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/6.215, allocations: 1.552 MB / 3.135 GB, free: 70.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/6.215, allocations: 0 / 3.135 GB, free: 70.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/6.217, allocations: 0.8382 MB / 3.136 GB, free: 69.45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/6.217, allocations: 271.8 kB / 3.136 GB, free: 69.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/6.217, allocations: 20 kB / 3.136 GB, free: 69.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/6.218, allocations: 63.94 kB / 3.137 GB, free: 69.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/6.218, allocations: 56.92 kB / 3.137 GB, free: 69.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/6.218, allocations: 43.86 kB / 3.137 GB, free: 68.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005474/6.219, allocations: 467 kB / 3.137 GB, free: 68.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.219, allocations: 3.938 kB / 3.137 GB, free: 68.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001143/6.22, allocations: 324.2 kB / 3.137 GB, free: 68.21 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 (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.004138/6.224, allocations: 2.31 MB / 3.14 GB, free: 65.99 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001413/6.225, allocations: 0.7087 MB / 3.14 GB, free: 65.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/6.226, allocations: 0 / 3.14 GB, free: 65.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/6.226, allocations: 488.4 kB / 3.141 GB, free: 64.78 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/6.227, allocations: 229.9 kB / 3.141 GB, free: 64.56 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00889/6.236, allocations: 4.892 MB / 3.146 GB, free: 59.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/6.237, allocations: 1.007 MB / 3.147 GB, free: 58.58 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009198/6.238, allocations: 257.9 kB / 3.147 GB, free: 58.32 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/6.238, allocations: 331.3 kB / 3.147 GB, free: 58 MB / 0.948 GB Notification: Performance of SimCode: time 1.212e-06/6.238, allocations: 0 / 3.147 GB, free: 58 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05153/6.29, allocations: 28.44 MB / 3.175 GB, free: 29.85 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/6.29, allocations: 283.6 kB / 3.175 GB, free: 29.49 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_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: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_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: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_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