Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.515/2.515, allocations: 287.3 MB / 302.3 MB, free: 8.402 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.001652/0.001651, allocations: 180 kB / 370.8 MB, free: 10.84 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.227/2.227, allocations: 205.4 MB / 0.6295 GB, free: 10.56 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.00122/0.00122, allocations: 97.77 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006579/0.0006581, allocations: 15.73 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2143, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005095/0.2194, allocations: 3.437 MB / 0.9816 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8595/1.079, allocations: 127.2 MB / 1.106 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007102/1.08, allocations: 12.47 kB / 1.106 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003872/1.08, allocations: 70.16 kB / 1.106 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/1.082, allocations: 424.2 kB / 1.106 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/1.085, allocations: 0.589 MB / 1.107 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001917/1.087, allocations: 0.7157 MB / 1.108 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009532/1.088, allocations: 452.3 kB / 1.108 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008098/1.088, allocations: 289 kB / 1.108 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005855/1.089, allocations: 288.9 kB / 1.109 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/1.089, allocations: 20.94 kB / 1.109 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009889/1.09, allocations: 246 kB / 1.109 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000253/1.09, allocations: 160 kB / 1.109 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002365/1.091, allocations: 176.2 kB / 1.109 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002118/1.093, allocations: 1.023 MB / 1.11 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.093, allocations: 1.094 kB / 1.11 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.755e-06/1.093, allocations: 0 / 1.11 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.978e-05/1.093, allocations: 0 / 1.11 GB, free: 1.176 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.003279/1.096, allocations: 1.1 MB / 1.111 GB, free: 16.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.096, allocations: 13.33 kB / 1.111 GB, free: 16.46 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003187/1.097, allocations: 130.7 kB / 1.111 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/1.098, allocations: 183.9 kB / 1.112 GB, free: 16.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/1.1, allocations: 0.6737 MB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/1.1, allocations: 57.42 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/1.1, allocations: 74.41 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/1.103, allocations: 0.8368 MB / 1.113 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/1.103, allocations: 0 / 1.113 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/1.103, allocations: 32.42 kB / 1.113 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/1.103, allocations: 26.94 kB / 1.113 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/1.106, allocations: 1.054 MB / 1.114 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006385/1.113, allocations: 2.381 MB / 1.117 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/1.115, allocations: 0.7245 MB / 1.117 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/1.115, allocations: 28.22 kB / 1.117 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/1.116, allocations: 427.6 kB / 1.118 GB, free: 14.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.387e-06/1.116, allocations: 0 / 1.118 GB, free: 14.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.004912/1.121, allocations: 1.093 MB / 1.119 GB, free: 14.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/1.121, allocations: 187.8 kB / 1.119 GB, free: 14.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/1.122, allocations: 0.5529 MB / 1.119 GB, free: 14.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/1.123, allocations: 40.39 kB / 1.12 GB, free: 14.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/1.123, allocations: 364.8 kB / 1.12 GB, free: 14.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/1.123, allocations: 236.5 kB / 1.12 GB, free: 14.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/1.123, allocations: 11.77 kB / 1.12 GB, free: 14.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.124, allocations: 378 kB / 1.12 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007669/1.124, allocations: 219 kB / 1.121 GB, free: 13.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008772/1.125, allocations: 324.9 kB / 1.121 GB, free: 13.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008142/1.126, allocations: 261.8 kB / 1.121 GB, free: 13.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/1.126, allocations: 0 / 1.121 GB, free: 13.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002954/1.129, allocations: 0.7244 MB / 1.122 GB, free: 13.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/1.129, allocations: 9.047 kB / 1.122 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.129, allocations: 1.312 kB / 1.122 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009691/1.13, allocations: 85.69 kB / 1.122 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.131, allocations: 138 kB / 1.122 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/1.134, allocations: 1.539 MB / 1.124 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.135, allocations: 85.78 kB / 1.124 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/1.136, allocations: 29.48 kB / 1.124 GB, free: 12.2 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 (73): * Single equations (assignments): 72 * 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.0006407/1.136, allocations: 253.2 kB / 1.124 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/1.136, allocations: 74.14 kB / 1.124 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/1.14, allocations: 0.9969 MB / 1.125 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/1.14, allocations: 9.312 kB / 1.125 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.14, allocations: 0 / 1.125 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/1.14, allocations: 7.281 kB / 1.125 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/1.142, allocations: 0.8466 MB / 1.126 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.142, allocations: 0 / 1.126 GB, free: 11.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/1.143, allocations: 144 kB / 1.126 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008418/1.144, allocations: 85.08 kB / 1.126 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.078e-05/1.144, allocations: 21.8 kB / 1.126 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/1.146, allocations: 1.563 MB / 1.128 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.146, allocations: 0 / 1.128 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/1.149, allocations: 0.8353 MB / 1.128 GB, free: 10.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006057/1.15, allocations: 270.3 kB / 1.129 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/1.15, allocations: 16.38 kB / 1.129 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009659/1.151, allocations: 67.39 kB / 1.129 GB, free: 10.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/1.151, allocations: 63.88 kB / 1.129 GB, free: 10.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-05/1.151, allocations: 36.5 kB / 1.129 GB, free: 10.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008276/1.152, allocations: 417.9 kB / 1.129 GB, free: 9.922 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.152, allocations: 0 / 1.129 GB, free: 9.922 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001273/1.154, allocations: 257.3 kB / 1.13 GB, free: 9.879 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 (81): * Single equations (assignments): 78 * 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.004892/1.158, allocations: 1.837 MB / 1.131 GB, free: 9.074 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002408/1.161, allocations: 0.7245 MB / 1.132 GB, free: 8.926 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.161, allocations: 1.344 kB / 1.132 GB, free: 8.926 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/1.162, allocations: 490.7 kB / 1.133 GB, free: 8.789 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/1.164, allocations: 238.5 kB / 1.133 GB, free: 8.734 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/1.18, allocations: 4.979 MB / 1.138 GB, free: 6.312 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008821/1.181, allocations: 1.011 MB / 1.139 GB, free: 5.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001557/1.182, allocations: 249.6 kB / 1.139 GB, free: 5.359 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007574/1.183, allocations: 342.8 kB / 1.139 GB, free: 5.312 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/1.183, allocations: 4 kB / 1.139 GB, free: 5.309 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0688/1.252, allocations: 19.32 MB / 1.158 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004307/1.252, allocations: 269.2 kB / 1.158 GB, free: 11.67 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_Examples_ZenithAngle.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_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_Examples_ZenithAngle_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_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_Examples_ZenithAngle_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_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_Examples_ZenithAngle_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_functions.o] Error 1