Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.592/2.592, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001697/0.001697, allocations: 190.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.334/2.334, 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.001125/0.001125, allocations: 91.16 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005593/0.0005594, allocations: 14.05 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2471, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006087/0.2533, allocations: 3.714 MB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9644/1.218, allocations: 127.4 MB / 1.106 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/1.219, allocations: 18.44 kB / 1.106 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000591/1.22, allocations: 77.02 kB / 1.106 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002616/1.222, allocations: 433.8 kB / 1.107 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003601/1.226, allocations: 0.6664 MB / 1.107 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002657/1.229, allocations: 0.8144 MB / 1.108 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/1.23, allocations: 0.5479 MB / 1.109 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/1.231, allocations: 368.4 kB / 1.109 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/1.233, allocations: 378.9 kB / 1.109 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000358/1.233, allocations: 29.06 kB / 1.109 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/1.235, allocations: 275.9 kB / 1.11 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005493/1.235, allocations: 197.7 kB / 1.11 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004961/1.236, allocations: 203.2 kB / 1.11 GB, free: 17.09 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003391/1.239, allocations: 1.184 MB / 1.111 GB, free: 17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/1.239, allocations: 0 / 1.111 GB, free: 17 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.386e-06/1.239, allocations: 0 / 1.111 GB, free: 17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.184e-05/1.239, allocations: 0 / 1.111 GB, free: 17 MB / 0.698 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.005333/1.245, allocations: 1.297 MB / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/1.245, allocations: 12.92 kB / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007688/1.246, allocations: 155.9 kB / 1.113 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009467/1.255, allocations: 0.7845 MB / 1.113 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/1.258, allocations: 0.7367 MB / 1.114 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/1.258, allocations: 73.84 kB / 1.114 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005086/1.259, allocations: 101.2 kB / 1.114 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006441/1.265, allocations: 1.346 MB / 1.116 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/1.265, allocations: 3.953 kB / 1.116 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/1.265, allocations: 43.19 kB / 1.116 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/1.265, allocations: 25.64 kB / 1.116 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008792/1.274, allocations: 1.834 MB / 1.118 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01223/1.287, allocations: 3.163 MB / 1.121 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006361/1.293, allocations: 1.216 MB / 1.122 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/1.294, allocations: 483 kB / 1.122 GB, free: 14.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003567/1.298, allocations: 0.7149 MB / 1.123 GB, free: 14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=99): time 5.059e-06/1.298, allocations: 0 / 1.123 GB, free: 14 MB / 0.698 GB Notification: Performance of matching and sorting (n=99): time 0.01084/1.309, allocations: 1.806 MB / 1.125 GB, free: 13.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/1.309, allocations: 193.8 kB / 1.125 GB, free: 13.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/1.31, allocations: 0.5846 MB / 1.126 GB, free: 13.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004333/1.311, allocations: 42.77 kB / 1.126 GB, free: 13.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/1.311, allocations: 417.9 kB / 1.126 GB, free: 13.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006402/1.312, allocations: 325.4 kB / 1.126 GB, free: 12.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/1.312, allocations: 18.03 kB / 1.126 GB, free: 12.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002883/1.312, allocations: 392.2 kB / 1.127 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/1.315, allocations: 447.7 kB / 1.127 GB, free: 12.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002909/1.318, allocations: 0.5552 MB / 1.128 GB, free: 12.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002885/1.321, allocations: 482.8 kB / 1.128 GB, free: 12.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/1.321, allocations: 0 / 1.128 GB, free: 12.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.007304/1.328, allocations: 1.226 MB / 1.129 GB, free: 11.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/1.328, allocations: 6.062 kB / 1.129 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.328, allocations: 1.031 kB / 1.129 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/1.329, allocations: 87.7 kB / 1.129 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/1.332, allocations: 247 kB / 1.13 GB, free: 11.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/1.336, allocations: 1.529 MB / 1.131 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/1.338, allocations: 145.4 kB / 1.131 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003385/1.338, allocations: 36.56 kB / 1.131 GB, free: 10.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.001039/1.339, allocations: 275.7 kB / 1.132 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/1.34, allocations: 83.16 kB / 1.132 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008603/1.348, allocations: 1.568 MB / 1.133 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/1.349, allocations: 10.75 kB / 1.133 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.349, allocations: 0 / 1.133 GB, free: 9.688 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.487e-05/1.349, allocations: 13.25 kB / 1.133 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/1.351, allocations: 1.088 MB / 1.134 GB, free: 9.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/1.352, allocations: 0 / 1.134 GB, free: 9.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002814/1.354, allocations: 244.8 kB / 1.134 GB, free: 9.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009666/1.355, allocations: 86.05 kB / 1.135 GB, free: 9.086 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003623/1.356, allocations: 36.34 kB / 1.135 GB, free: 9.074 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/1.359, allocations: 1.548 MB / 1.136 GB, free: 7.711 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/1.359, allocations: 5.047 kB / 1.136 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00763/1.367, allocations: 1.332 MB / 1.137 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.368, allocations: 311 kB / 1.138 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003822/1.368, allocations: 21.34 kB / 1.138 GB, free: 7.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0023/1.371, allocations: 122.4 kB / 1.138 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/1.371, allocations: 73.52 kB / 1.138 GB, free: 7.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/1.371, allocations: 41.53 kB / 1.138 GB, free: 7.078 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001051/1.372, allocations: 430.1 kB / 1.138 GB, free: 6.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.372, allocations: 1.859 kB / 1.138 GB, free: 6.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002072/1.374, allocations: 335.4 kB / 1.139 GB, free: 6.863 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 (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.009838/1.384, allocations: 2.372 MB / 1.141 GB, free: 5.824 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006813/1.391, allocations: 1.246 MB / 1.142 GB, free: 5.492 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/1.391, allocations: 0 / 1.142 GB, free: 5.492 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003672/1.395, allocations: 0.7607 MB / 1.143 GB, free: 5.254 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/1.397, allocations: 248.8 kB / 1.143 GB, free: 5.172 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02707/1.424, allocations: 6.513 MB / 1.15 GB, free: 2.145 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009433/1.425, allocations: 1.078 MB / 1.151 GB, free: 1.281 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002966/1.428, allocations: 323.5 kB / 1.151 GB, free: 1.102 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/1.43, allocations: 414.8 kB / 1.151 GB, free: 1.047 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.43, allocations: 0 / 1.151 GB, free: 1.047 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/1.531, allocations: 22.78 MB / 1.174 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004511/1.532, allocations: 305.8 kB / 1.174 GB, free: 3.047 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_BrighteningCoefficient.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.c:7: In file included from ./Buildings_8_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: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_BrighteningCoefficient_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BrighteningCoefficient_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_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_BrighteningCoefficient_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_functions.o] Error 1