Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.813/2.813, allocations: 287.3 MB / 302.3 MB, free: 8.359 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.0017/0.001701, allocations: 185.9 kB / 370.8 MB, free: 10.87 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.253/2.253, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001176/0.001176, allocations: 100.8 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006999/0.0007001, allocations: 18.91 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2551, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00591/0.261, allocations: 3.519 MB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9281/1.189, allocations: 127.2 MB / 1.106 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009973/1.19, allocations: 17.75 kB / 1.106 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005063/1.191, allocations: 71.45 kB / 1.106 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002505/1.193, allocations: 415.1 kB / 1.106 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003205/1.197, allocations: 0.588 MB / 1.107 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00243/1.199, allocations: 0.7448 MB / 1.108 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/1.2, allocations: 0.5083 MB / 1.108 GB, free: 1.449 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/1.201, allocations: 310.9 kB / 1.109 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000899/1.202, allocations: 296 kB / 1.109 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002062/1.203, allocations: 25.47 kB / 1.109 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/1.204, allocations: 246.3 kB / 1.109 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003492/1.204, allocations: 168.5 kB / 1.109 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004159/1.205, allocations: 186.7 kB / 1.109 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003038/1.208, allocations: 1.083 MB / 1.11 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.208, allocations: 0.875 kB / 1.11 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.687e-06/1.208, allocations: 0 / 1.11 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.746e-05/1.208, allocations: 4 kB / 1.11 GB, free: 1.082 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004567/1.213, allocations: 1.147 MB / 1.112 GB, free: 16.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/1.213, allocations: 10.05 kB / 1.112 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007111/1.213, allocations: 146.6 kB / 1.112 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002806/1.216, allocations: 273.6 kB / 1.112 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/1.219, allocations: 0.6987 MB / 1.113 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/1.219, allocations: 70.72 kB / 1.113 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/1.219, allocations: 86.27 kB / 1.113 GB, free: 15.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/1.223, allocations: 0.9538 MB / 1.114 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/1.223, allocations: 3.938 kB / 1.114 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/1.224, allocations: 43.03 kB / 1.114 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/1.224, allocations: 24.64 kB / 1.114 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004727/1.228, allocations: 1.171 MB / 1.115 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009106/1.238, allocations: 2.596 MB / 1.117 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004534/1.242, allocations: 0.8719 MB / 1.118 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/1.243, allocations: 31.56 kB / 1.118 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001728/1.244, allocations: 471.6 kB / 1.119 GB, free: 14.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=74): time 4.769e-06/1.244, allocations: 0 / 1.119 GB, free: 14.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=74): time 0.006085/1.25, allocations: 1.201 MB / 1.12 GB, free: 14.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/1.251, allocations: 195.5 kB / 1.12 GB, free: 14.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.252, allocations: 0.5744 MB / 1.121 GB, free: 14.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002941/1.252, allocations: 39.83 kB / 1.121 GB, free: 14.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005451/1.253, allocations: 395.9 kB / 1.121 GB, free: 14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/1.253, allocations: 243.4 kB / 1.121 GB, free: 13.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/1.253, allocations: 13.97 kB / 1.121 GB, free: 13.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002613/1.254, allocations: 380.8 kB / 1.122 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/1.255, allocations: 254.5 kB / 1.122 GB, free: 13.52 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/1.256, allocations: 361.6 kB / 1.122 GB, free: 13.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/1.258, allocations: 298.9 kB / 1.123 GB, free: 13.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/1.258, allocations: 1.656 kB / 1.123 GB, free: 13.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003955/1.262, allocations: 0.8032 MB / 1.123 GB, free: 13.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/1.262, allocations: 8.375 kB / 1.123 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/1.262, allocations: 0 / 1.123 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.263, allocations: 85.44 kB / 1.124 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/1.264, allocations: 155 kB / 1.124 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/1.268, allocations: 1.537 MB / 1.125 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.269, allocations: 92.61 kB / 1.125 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/1.269, allocations: 31.36 kB / 1.125 GB, free: 11.96 MB / 0.698 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 (77): * Single equations (assignments): 76 * 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.0008717/1.27, allocations: 260.5 kB / 1.126 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/1.271, allocations: 76.31 kB / 1.126 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004839/1.275, allocations: 1.094 MB / 1.127 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/1.276, allocations: 7.938 kB / 1.127 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.276, allocations: 1.438 kB / 1.127 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-05/1.276, allocations: 8.312 kB / 1.127 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/1.278, allocations: 0.887 MB / 1.128 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/1.278, allocations: 0 / 1.128 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/1.279, allocations: 162.8 kB / 1.128 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009256/1.28, allocations: 79.55 kB / 1.128 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/1.281, allocations: 32.5 kB / 1.128 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002978/1.284, allocations: 1.558 MB / 1.129 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.284, allocations: 3.984 kB / 1.129 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004237/1.288, allocations: 0.9178 MB / 1.13 GB, free: 9.918 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009566/1.289, allocations: 275.5 kB / 1.131 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/1.289, allocations: 18.25 kB / 1.131 GB, free: 9.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/1.291, allocations: 87.17 kB / 1.131 GB, free: 9.703 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002979/1.291, allocations: 64.41 kB / 1.131 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/1.291, allocations: 27.61 kB / 1.131 GB, free: 9.676 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00105/1.292, allocations: 424.1 kB / 1.131 GB, free: 9.523 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.11e-07/1.292, allocations: 4 kB / 1.131 GB, free: 9.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001721/1.294, allocations: 277.8 kB / 1.131 GB, free: 9.465 MB / 0.698 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 (86): * Single equations (assignments): 83 * 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.006583/1.301, allocations: 1.913 MB / 1.133 GB, free: 8.531 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003548/1.304, allocations: 0.7964 MB / 1.134 GB, free: 8.293 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.304, allocations: 1.625 kB / 1.134 GB, free: 8.293 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/1.306, allocations: 0.5259 MB / 1.135 GB, free: 8.098 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/1.309, allocations: 239.1 kB / 1.135 GB, free: 8.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.33, allocations: 5.301 MB / 1.14 GB, free: 5.461 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009953/1.331, allocations: 1.036 MB / 1.141 GB, free: 4.613 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001957/1.333, allocations: 268.8 kB / 1.141 GB, free: 4.477 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.334, allocations: 372.1 kB / 1.142 GB, free: 4.426 MB / 0.698 GB Notification: Performance of SimCode: time 2.615e-06/1.334, allocations: 1.5 kB / 1.142 GB, free: 4.426 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0863/1.42, allocations: 19.97 MB / 1.161 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003351/1.42, allocations: 288.4 kB / 1.161 GB, free: 10.48 MB / 0.7136 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_BaseClasses_Examples_SkyBrightness.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_BaseClasses_Examples_SkyBrightness_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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_BaseClasses_Examples_SkyBrightness_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_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_BaseClasses_Examples_SkyBrightness_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_functions.o] Error 1