Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.551/2.551, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001547/0.001547, allocations: 191.2 kB / 370.8 MB, free: 10.88 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.082/2.082, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.00118/0.001179, allocations: 83.97 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004921, allocations: 9.812 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.853/7.079, allocations: 2.076 GB / 3.054 GB, free: 198.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/7.079, allocations: 91.33 kB / 3.054 GB, free: 198.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.392/7.471, allocations: 96.88 MB / 3.149 GB, free: 110.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.216e-06/7.471, allocations: 3.938 kB / 3.149 GB, free: 110.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001898/7.471, allocations: 40 kB / 3.149 GB, free: 110.7 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: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.007705/7.479, allocations: 2.011 MB / 3.151 GB, free: 108.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/7.479, allocations: 16.02 kB / 3.151 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009547/7.48, allocations: 266.1 kB / 3.151 GB, free: 108.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02278/7.503, allocations: 1.8 MB / 3.153 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/7.506, allocations: 1.036 MB / 3.154 GB, free: 105.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/7.507, allocations: 139.8 kB / 3.154 GB, free: 105.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007005/7.507, allocations: 184 kB / 3.154 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01396/7.521, allocations: 2.926 MB / 3.157 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.932e-05/7.521, allocations: 0 / 3.157 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004312/7.522, allocations: 76 kB / 3.157 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/7.522, allocations: 44 kB / 3.157 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/7.544, allocations: 4.003 MB / 3.161 GB, free: 98.07 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02406/7.568, allocations: 6.238 MB / 3.167 GB, free: 91.75 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/7.585, allocations: 2.752 MB / 3.17 GB, free: 88.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/7.586, allocations: 0.4996 MB / 3.17 GB, free: 88.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008579/7.595, allocations: 1.636 MB / 3.172 GB, free: 86.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 6.763e-06/7.595, allocations: 0 / 3.172 GB, free: 86.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.02663/7.622, allocations: 4.062 MB / 3.176 GB, free: 82.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/7.622, allocations: 253.3 kB / 3.176 GB, free: 82.35 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/7.624, allocations: 0.7665 MB / 3.177 GB, free: 81.58 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008551/7.625, allocations: 61.7 kB / 3.177 GB, free: 81.51 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007183/7.625, allocations: 0.6258 MB / 3.178 GB, free: 80.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001292/7.627, allocations: 0.6236 MB / 3.178 GB, free: 80.24 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/7.627, allocations: 36 kB / 3.178 GB, free: 80.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001703/7.627, allocations: 361.9 kB / 3.179 GB, free: 79.85 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007442/7.635, allocations: 1.12 MB / 3.18 GB, free: 78.73 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007661/7.642, allocations: 1.317 MB / 3.181 GB, free: 77.37 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009223/7.652, allocations: 1.162 MB / 3.182 GB, free: 76.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/7.652, allocations: 4 kB / 3.182 GB, free: 76.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.02446/7.676, allocations: 2.796 MB / 3.185 GB, free: 73.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.162e-05/7.676, allocations: 4 kB / 3.185 GB, free: 73.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/7.676, allocations: 4 kB / 3.185 GB, free: 73.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/7.678, allocations: 88.8 kB / 3.185 GB, free: 73.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009216/7.687, allocations: 0.5383 MB / 3.186 GB, free: 72.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/7.693, allocations: 1.54 MB / 3.187 GB, free: 71.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007993/7.701, allocations: 318.4 kB / 3.187 GB, free: 70.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001259/7.702, allocations: 87.89 kB / 3.187 GB, free: 70.68 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.004115/7.706, allocations: 377.5 kB / 3.188 GB, free: 70.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000634/7.707, allocations: 142.3 kB / 3.188 GB, free: 70.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/7.727, allocations: 3.393 MB / 3.191 GB, free: 66.75 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-05/7.727, allocations: 23.94 kB / 3.191 GB, free: 66.73 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/7.727, allocations: 0 / 3.191 GB, free: 66.73 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.327e-05/7.727, allocations: 11.95 kB / 3.191 GB, free: 66.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02702/7.754, allocations: 5.565 MB / 3.197 GB, free: 61.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/7.754, allocations: 0 / 3.197 GB, free: 61.09 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01061/7.765, allocations: 0.5266 MB / 3.197 GB, free: 60.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/7.766, allocations: 88.77 kB / 3.197 GB, free: 60.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009579/7.767, allocations: 67.86 kB / 3.197 GB, free: 60.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004517/7.772, allocations: 1.575 MB / 3.199 GB, free: 58.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/7.772, allocations: 0 / 3.199 GB, free: 58.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0306/7.802, allocations: 2.957 MB / 3.202 GB, free: 55.71 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/7.805, allocations: 0.5257 MB / 3.202 GB, free: 55.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005333/7.805, allocations: 40 kB / 3.202 GB, free: 55.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004891/7.81, allocations: 247.8 kB / 3.203 GB, free: 54.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/7.81, allocations: 121.8 kB / 3.203 GB, free: 54.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003104/7.811, allocations: 79.92 kB / 3.203 GB, free: 54.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001286/7.812, allocations: 0.649 MB / 3.203 GB, free: 54.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/7.812, allocations: 0 / 3.203 GB, free: 54.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002625/7.815, allocations: 0.6116 MB / 3.204 GB, free: 53.41 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * 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.0196/7.834, allocations: 4.474 MB / 3.208 GB, free: 49.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01663/7.851, allocations: 2.843 MB / 3.211 GB, free: 46.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/7.851, allocations: 8.062 kB / 3.211 GB, free: 46.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008624/7.86, allocations: 1.603 MB / 3.213 GB, free: 44.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/7.862, allocations: 280.3 kB / 3.213 GB, free: 44.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04537/7.908, allocations: 11.97 MB / 3.225 GB, free: 32.06 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009894/7.909, allocations: 1.357 MB / 3.226 GB, free: 30.67 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005534/7.914, allocations: 0.5462 MB / 3.227 GB, free: 30.12 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002325/7.917, allocations: 0.7491 MB / 3.227 GB, free: 29.37 MB / 0.948 GB Notification: Performance of SimCode: time 2.174e-06/7.917, allocations: 4 kB / 3.227 GB, free: 29.37 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8004/8.717, allocations: 46.28 MB / 3.272 GB, free: 291.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/8.718, allocations: 273.5 kB / 3.273 GB, free: 291.4 MB / 0.948 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_Examples_DiffusePerez.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_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_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_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_Examples_DiffusePerez_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_functions.o] Error 1