Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.096/2.096, allocations: 251 MB / 265.9 MB, free: 11.71 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.001567/0.001567, allocations: 179 kB / 325.5 MB, free: 2.906 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.362/2.362, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.00119/0.001191, allocations: 94.8 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004804, allocations: 12.62 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2266, allocations: 106.3 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.562/7.789, allocations: 2.192 GB / 3.091 GB, free: 246.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004155/7.79, allocations: 99.28 kB / 3.091 GB, free: 246.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2664/8.056, allocations: 68.05 MB / 3.157 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.137e-06/8.056, allocations: 0 / 3.157 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001399/8.056, allocations: 31.56 kB / 3.157 GB, free: 239.9 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004764/8.061, allocations: 1.326 MB / 3.158 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/8.061, allocations: 7.812 kB / 3.158 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005094/8.062, allocations: 158.7 kB / 3.159 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007637/8.069, allocations: 0.6631 MB / 3.159 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/8.072, allocations: 0.674 MB / 3.16 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/8.072, allocations: 74.09 kB / 3.16 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/8.072, allocations: 98.86 kB / 3.16 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005352/8.077, allocations: 1.345 MB / 3.161 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/8.077, allocations: 0 / 3.161 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/8.078, allocations: 40.81 kB / 3.161 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/8.078, allocations: 27.34 kB / 3.161 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008167/8.086, allocations: 1.833 MB / 3.163 GB, free: 237.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01026/8.096, allocations: 3.137 MB / 3.166 GB, free: 235.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005756/8.102, allocations: 1.219 MB / 3.167 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/8.103, allocations: 476.5 kB / 3.168 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002963/8.106, allocations: 0.7314 MB / 3.169 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=99): time 4.809e-06/8.106, allocations: 0 / 3.169 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=99): time 0.009979/8.116, allocations: 1.82 MB / 3.17 GB, free: 234 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/8.116, allocations: 243.8 kB / 3.171 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/8.118, allocations: 0.5905 MB / 3.171 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003522/8.118, allocations: 39.86 kB / 3.171 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/8.118, allocations: 413.1 kB / 3.172 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003881/8.119, allocations: 329.6 kB / 3.172 GB, free: 233 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/8.119, allocations: 14.28 kB / 3.172 GB, free: 233 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001524/8.119, allocations: 390.8 kB / 3.172 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/8.121, allocations: 451.5 kB / 3.173 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/8.124, allocations: 0.5571 MB / 3.173 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002374/8.126, allocations: 492.1 kB / 3.174 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.944e-06/8.126, allocations: 0 / 3.174 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.006304/8.133, allocations: 1.217 MB / 3.175 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/8.133, allocations: 11.8 kB / 3.175 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/8.133, allocations: 3.906 kB / 3.175 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009931/8.134, allocations: 83.27 kB / 3.175 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002554/8.136, allocations: 236.5 kB / 3.175 GB, free: 232 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002733/8.139, allocations: 1.531 MB / 3.177 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/8.141, allocations: 147.7 kB / 3.177 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/8.142, allocations: 38.38 kB / 3.177 GB, free: 230.5 MB / 0.8855 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 (102): * Single equations (assignments): 101 * 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.000895/8.142, allocations: 269.1 kB / 3.177 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003314/8.143, allocations: 86.08 kB / 3.177 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007407/8.15, allocations: 1.575 MB / 3.179 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/8.15, allocations: 11.69 kB / 3.179 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/8.15, allocations: 7.938 kB / 3.179 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/8.15, allocations: 3.984 kB / 3.179 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/8.153, allocations: 1.111 MB / 3.18 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/8.153, allocations: 0 / 3.18 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/8.155, allocations: 246.4 kB / 3.18 GB, free: 229.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009045/8.156, allocations: 83.14 kB / 3.18 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/8.156, allocations: 33.78 kB / 3.18 GB, free: 229.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/8.159, allocations: 1.558 MB / 3.182 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/8.159, allocations: 3.938 kB / 3.182 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006537/8.165, allocations: 1.342 MB / 3.183 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009952/8.166, allocations: 321.3 kB / 3.183 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/8.167, allocations: 21.8 kB / 3.183 GB, free: 227.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002056/8.169, allocations: 126 kB / 3.184 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/8.169, allocations: 74.61 kB / 3.184 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/8.169, allocations: 42.47 kB / 3.184 GB, free: 227.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009594/8.17, allocations: 484.5 kB / 3.184 GB, free: 227 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/8.17, allocations: 0 / 3.184 GB, free: 227 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002073/8.172, allocations: 399.3 kB / 3.185 GB, free: 227 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 (111): * Single equations (assignments): 108 * 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.009439/8.182, allocations: 2.84 MB / 3.187 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00616/8.188, allocations: 1.246 MB / 3.189 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.048e-06/8.188, allocations: 0 / 3.189 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003295/8.191, allocations: 0.7658 MB / 3.189 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/8.194, allocations: 238.2 kB / 3.189 GB, free: 225 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/8.217, allocations: 6.455 MB / 3.196 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/8.217, allocations: 1.079 MB / 3.197 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002716/8.22, allocations: 331 kB / 3.197 GB, free: 221 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/8.221, allocations: 421.2 kB / 3.198 GB, free: 221 MB / 0.8855 GB Notification: Performance of SimCode: time 1.293e-06/8.221, allocations: 0 / 3.198 GB, free: 221 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09417/8.316, allocations: 32.14 MB / 3.229 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/8.316, allocations: 298.2 kB / 3.229 GB, free: 199.6 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_BaseClasses_Examples_BrighteningCoefficient.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BaseClasses_Examples_BrighteningCoefficient_functions.o Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c In file included from Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BaseClasses_Examples_BrighteningCoefficient_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BaseClasses_Examples_BrighteningCoefficient_functions.o' failed make: *** [Buildings_7_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o] Error 1