Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.613/2.613, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.001653/0.001652, allocations: 189.2 kB / 370.8 MB, free: 10.86 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.288/2.288, allocations: 205.4 MB / 0.6295 GB, free: 10.52 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.001238/0.001237, allocations: 90.25 kB / 0.7428 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005211/0.0005214, allocations: 16.02 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2703, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005784/0.2761, allocations: 3.546 MB / 0.9818 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9415/1.218, allocations: 127.3 MB / 1.106 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009421/1.219, allocations: 17.19 kB / 1.106 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004795/1.219, allocations: 75.5 kB / 1.106 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002421/1.222, allocations: 428 kB / 1.107 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003404/1.225, allocations: 0.6139 MB / 1.107 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002651/1.228, allocations: 0.7578 MB / 1.108 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/1.229, allocations: 475.9 kB / 1.108 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/1.23, allocations: 318.2 kB / 1.109 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008393/1.231, allocations: 308.5 kB / 1.109 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002119/1.231, allocations: 22.12 kB / 1.109 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/1.232, allocations: 267 kB / 1.109 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/1.233, allocations: 169.6 kB / 1.109 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004304/1.233, allocations: 181.2 kB / 1.11 GB, free: 17.2 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002872/1.236, allocations: 1.048 MB / 1.111 GB, free: 17.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.236, allocations: 0.9688 kB / 1.111 GB, free: 17.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/1.236, allocations: 0 / 1.111 GB, free: 17.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.259e-05/1.236, allocations: 0 / 1.111 GB, free: 17.12 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.004192/1.241, allocations: 1.155 MB / 1.112 GB, free: 16.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/1.241, allocations: 9.219 kB / 1.112 GB, free: 16.39 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005684/1.241, allocations: 136.1 kB / 1.112 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/1.243, allocations: 187.9 kB / 1.112 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/1.245, allocations: 0.6841 MB / 1.113 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/1.245, allocations: 64.61 kB / 1.113 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/1.246, allocations: 74.22 kB / 1.113 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003098/1.249, allocations: 0.8834 MB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/1.249, allocations: 5.219 kB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/1.249, allocations: 36.39 kB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/1.249, allocations: 21.62 kB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/1.253, allocations: 1.084 MB / 1.115 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007414/1.26, allocations: 2.435 MB / 1.117 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/1.264, allocations: 0.8799 MB / 1.118 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/1.264, allocations: 35.94 kB / 1.118 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001337/1.265, allocations: 442.5 kB / 1.119 GB, free: 14.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 4.108e-06/1.265, allocations: 4 kB / 1.119 GB, free: 14.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.005221/1.27, allocations: 1.137 MB / 1.12 GB, free: 14.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/1.271, allocations: 195 kB / 1.12 GB, free: 14.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/1.272, allocations: 0.5702 MB / 1.12 GB, free: 14.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002642/1.272, allocations: 41.08 kB / 1.12 GB, free: 14.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/1.273, allocations: 387 kB / 1.121 GB, free: 14.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003872/1.273, allocations: 250.4 kB / 1.121 GB, free: 13.85 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.109e-05/1.273, allocations: 14.06 kB / 1.121 GB, free: 13.85 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000229/1.273, allocations: 379.1 kB / 1.121 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009294/1.274, allocations: 229.2 kB / 1.122 GB, free: 13.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/1.275, allocations: 331 kB / 1.122 GB, free: 13.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009606/1.276, allocations: 281.3 kB / 1.122 GB, free: 13.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.276, allocations: 0 / 1.122 GB, free: 13.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003441/1.28, allocations: 0.7553 MB / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/1.28, allocations: 4.609 kB / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/1.28, allocations: 9.234 kB / 1.123 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009925/1.281, allocations: 79.98 kB / 1.123 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.282, allocations: 154.8 kB / 1.123 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003243/1.286, allocations: 1.524 MB / 1.125 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.287, allocations: 92.42 kB / 1.125 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/1.287, allocations: 31.5 kB / 1.125 GB, free: 11.98 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 (79): * Single equations (assignments): 78 * 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.0008145/1.288, allocations: 250.8 kB / 1.125 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/1.288, allocations: 74.19 kB / 1.125 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/1.293, allocations: 1.098 MB / 1.126 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/1.293, allocations: 9.375 kB / 1.126 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.293, allocations: 4 kB / 1.126 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/1.293, allocations: 4.312 kB / 1.126 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006077/1.299, allocations: 1.956 MB / 1.128 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-05/1.299, allocations: 0 / 1.128 GB, free: 11.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/1.3, allocations: 161.7 kB / 1.128 GB, free: 11.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008745/1.301, allocations: 85.2 kB / 1.128 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/1.301, allocations: 31.31 kB / 1.128 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002931/1.304, allocations: 1.549 MB / 1.13 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.304, allocations: 0.9062 kB / 1.13 GB, free: 9.945 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003667/1.308, allocations: 0.9691 MB / 1.131 GB, free: 9.723 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/1.309, allocations: 283.1 kB / 1.131 GB, free: 9.543 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/1.309, allocations: 19.86 kB / 1.131 GB, free: 9.539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.31, allocations: 73.56 kB / 1.131 GB, free: 9.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/1.31, allocations: 70.23 kB / 1.131 GB, free: 9.488 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.31, allocations: 32.61 kB / 1.131 GB, free: 9.484 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009579/1.311, allocations: 431.4 kB / 1.132 GB, free: 9.332 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.603e-06/1.311, allocations: 0 / 1.132 GB, free: 9.332 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001477/1.313, allocations: 283.7 kB / 1.132 GB, free: 9.277 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * 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.005639/1.319, allocations: 1.982 MB / 1.134 GB, free: 8.277 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003003/1.322, allocations: 0.7662 MB / 1.135 GB, free: 8.047 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.322, allocations: 0 / 1.135 GB, free: 8.047 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/1.323, allocations: 0.5118 MB / 1.135 GB, free: 7.855 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/1.326, allocations: 243.6 kB / 1.135 GB, free: 7.773 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.344, allocations: 5.192 MB / 1.14 GB, free: 5.246 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009917/1.345, allocations: 1.027 MB / 1.141 GB, free: 4.406 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00181/1.347, allocations: 260.8 kB / 1.142 GB, free: 4.277 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009973/1.348, allocations: 381.3 kB / 1.142 GB, free: 4.223 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/1.348, allocations: 0 / 1.142 GB, free: 4.223 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/1.453, allocations: 20.12 MB / 1.162 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003431/1.454, allocations: 295.2 kB / 1.162 GB, free: 10.18 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_SolarGeometry_BaseClasses_Examples_SolarAzimuth.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_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_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_functions.o] Error 1