Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.19/2.19, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 180.3 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.324/2.324, allocations: 205.4 MB / 0.5764 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 99.84 kB / 0.6809 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005044/0.0005044, allocations: 15.72 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2223, allocations: 106.3 MB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.342/7.564, allocations: 2.191 GB / 3.089 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/7.565, allocations: 92.47 kB / 3.089 GB, free: 247.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.316/7.881, allocations: 78.22 MB / 3.166 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.026e-06/7.881, allocations: 0 / 3.166 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001683/7.881, allocations: 35.34 kB / 3.166 GB, free: 236.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004703/7.886, allocations: 1.357 MB / 3.167 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/7.886, allocations: 11.78 kB / 3.167 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000793/7.887, allocations: 176.2 kB / 3.167 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/7.889, allocations: 215.2 kB / 3.168 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/7.891, allocations: 0.7153 MB / 3.168 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.332e-05/7.891, allocations: 83.16 kB / 3.168 GB, free: 235 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/7.891, allocations: 106.9 kB / 3.168 GB, free: 235 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003651/7.895, allocations: 1.11 MB / 3.17 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/7.895, allocations: 0 / 3.17 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/7.895, allocations: 49.03 kB / 3.17 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/7.895, allocations: 27.31 kB / 3.17 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003879/7.899, allocations: 1.226 MB / 3.171 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00884/7.908, allocations: 3.016 MB / 3.174 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/7.911, allocations: 0.7846 MB / 3.175 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/7.911, allocations: 32.3 kB / 3.175 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002579/7.914, allocations: 455.4 kB / 3.175 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=78): time 6.051e-06/7.914, allocations: 3.938 kB / 3.175 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=78): time 0.00634/7.92, allocations: 1.152 MB / 3.176 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/7.92, allocations: 243.8 kB / 3.176 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/7.922, allocations: 0.6504 MB / 3.177 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000365/7.922, allocations: 44.11 kB / 3.177 GB, free: 231.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/7.923, allocations: 0.4922 MB / 3.178 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000602/7.924, allocations: 250.8 kB / 3.178 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/7.924, allocations: 15.16 kB / 3.178 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001294/7.924, allocations: 332.8 kB / 3.178 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/7.925, allocations: 236.8 kB / 3.178 GB, free: 230.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/7.927, allocations: 357.9 kB / 3.179 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/7.928, allocations: 298.7 kB / 3.179 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/7.928, allocations: 0 / 3.179 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005026/7.933, allocations: 0.7911 MB / 3.18 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/7.933, allocations: 11.8 kB / 3.18 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/7.934, allocations: 0 / 3.18 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/7.935, allocations: 82.61 kB / 3.18 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/7.937, allocations: 151.5 kB / 3.18 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003788/7.941, allocations: 1.529 MB / 3.181 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/7.943, allocations: 88.95 kB / 3.182 GB, free: 228.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/7.943, allocations: 30.95 kB / 3.182 GB, free: 228.9 MB / 0.8855 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 (83): * Single equations (assignments): 82 * 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.00135/7.944, allocations: 269.5 kB / 3.182 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000508/7.945, allocations: 93.59 kB / 3.182 GB, free: 228.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005872/7.951, allocations: 1.049 MB / 3.183 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/7.951, allocations: 7.812 kB / 3.183 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.068e-06/7.951, allocations: 11.92 kB / 3.183 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.737e-05/7.951, allocations: 7.891 kB / 3.183 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/7.954, allocations: 0.9981 MB / 3.184 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.861e-05/7.954, allocations: 0 / 3.184 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/7.956, allocations: 151 kB / 3.184 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/7.957, allocations: 82.17 kB / 3.184 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003059/7.958, allocations: 22.83 kB / 3.184 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/7.96, allocations: 1.555 MB / 3.186 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/7.96, allocations: 3.906 kB / 3.186 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/7.964, allocations: 0.8911 MB / 3.187 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000951/7.965, allocations: 292.5 kB / 3.187 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/7.965, allocations: 22.78 kB / 3.187 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/7.967, allocations: 66.03 kB / 3.187 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/7.967, allocations: 64.03 kB / 3.187 GB, free: 226 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/7.967, allocations: 30.64 kB / 3.187 GB, free: 226 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00119/7.968, allocations: 0.5251 MB / 3.188 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.22e-07/7.968, allocations: 0 / 3.188 GB, free: 225.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002087/7.97, allocations: 375.4 kB / 3.188 GB, free: 225.7 MB / 0.8855 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 (89): * Single equations (assignments): 86 * 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.00653/7.977, allocations: 2.367 MB / 3.19 GB, free: 224.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002854/7.98, allocations: 0.7737 MB / 3.191 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/7.98, allocations: 0 / 3.191 GB, free: 224.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002948/7.983, allocations: 0.5083 MB / 3.191 GB, free: 224.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003866/7.987, allocations: 259.2 kB / 3.192 GB, free: 224 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03327/8.02, allocations: 5.737 MB / 3.197 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/8.023, allocations: 1.099 MB / 3.198 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00294/8.026, allocations: 263 kB / 3.199 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002329/8.028, allocations: 447.3 kB / 3.199 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of SimCode: time 6.672e-06/8.028, allocations: 0 / 3.199 GB, free: 220.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09615/8.124, allocations: 30.52 MB / 3.229 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/8.125, allocations: 276.8 kB / 3.229 GB, free: 201.3 MB / 0.8855 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_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 -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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_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_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_functions.o] Error 1