Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.783/2.783, allocations: 287.3 MB / 302.3 MB, free: 8.375 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.001581/0.00158, allocations: 193.2 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.209/2.209, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001134/0.001134, allocations: 101.6 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.0005061, allocations: 11.89 kB / 0.8657 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2221, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.702/6.925, allocations: 2.073 GB / 3.052 GB, free: 201.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/6.925, allocations: 99.81 kB / 3.052 GB, free: 201.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.253/7.178, allocations: 68.52 MB / 3.119 GB, free: 141.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.16e-06/7.178, allocations: 4 kB / 3.119 GB, free: 141.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001006/7.178, allocations: 27.88 kB / 3.119 GB, free: 141.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.003169/7.181, allocations: 1.239 MB / 3.12 GB, free: 140.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/7.181, allocations: 12.03 kB / 3.12 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003812/7.182, allocations: 155.7 kB / 3.12 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/7.183, allocations: 190.4 kB / 3.12 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/7.185, allocations: 0.6386 MB / 3.121 GB, free: 139.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/7.185, allocations: 78 kB / 3.121 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/7.185, allocations: 84 kB / 3.121 GB, free: 139.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/7.188, allocations: 0.9652 MB / 3.122 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/7.188, allocations: 0 / 3.122 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/7.188, allocations: 36 kB / 3.122 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/7.188, allocations: 31.89 kB / 3.122 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/7.191, allocations: 1.159 MB / 3.123 GB, free: 137 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006719/7.198, allocations: 2.652 MB / 3.126 GB, free: 134.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/7.2, allocations: 0.7979 MB / 3.127 GB, free: 133.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/7.2, allocations: 32.61 kB / 3.127 GB, free: 133.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/7.202, allocations: 463.3 kB / 3.127 GB, free: 133 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 4.088e-06/7.202, allocations: 0 / 3.127 GB, free: 133 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.005011/7.207, allocations: 1.171 MB / 3.128 GB, free: 131.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.235e-05/7.207, allocations: 248 kB / 3.128 GB, free: 131.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/7.208, allocations: 0.6126 MB / 3.129 GB, free: 130.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002267/7.208, allocations: 37.7 kB / 3.129 GB, free: 130.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/7.209, allocations: 416.3 kB / 3.129 GB, free: 130.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/7.209, allocations: 256.1 kB / 3.13 GB, free: 130.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/7.209, allocations: 16 kB / 3.13 GB, free: 130.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001316/7.209, allocations: 386.8 kB / 3.13 GB, free: 129.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007762/7.21, allocations: 241.9 kB / 3.13 GB, free: 129.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008703/7.211, allocations: 359.4 kB / 3.131 GB, free: 129.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008911/7.212, allocations: 302.8 kB / 3.131 GB, free: 128.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/7.212, allocations: 3.938 kB / 3.131 GB, free: 128.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002975/7.215, allocations: 0.7941 MB / 3.132 GB, free: 128 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/7.215, allocations: 8 kB / 3.132 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/7.215, allocations: 0 / 3.132 GB, free: 128 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/7.216, allocations: 84.83 kB / 3.132 GB, free: 127.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/7.217, allocations: 155.8 kB / 3.132 GB, free: 127.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/7.22, allocations: 1.529 MB / 3.133 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/7.221, allocations: 95.33 kB / 3.134 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/7.222, allocations: 31.98 kB / 3.134 GB, free: 126 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (84): * Single equations (assignments): 83 * 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.0007302/7.222, allocations: 261.6 kB / 3.134 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/7.223, allocations: 79.06 kB / 3.134 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003961/7.227, allocations: 1.108 MB / 3.135 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/7.227, allocations: 12 kB / 3.135 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/7.227, allocations: 3.953 kB / 3.135 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.637e-05/7.227, allocations: 3.984 kB / 3.135 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005513/7.232, allocations: 2.052 MB / 3.137 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/7.232, allocations: 0 / 3.137 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/7.233, allocations: 167.8 kB / 3.137 GB, free: 122.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008686/7.234, allocations: 84.77 kB / 3.137 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/7.235, allocations: 27.97 kB / 3.137 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002467/7.237, allocations: 1.556 MB / 3.139 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/7.237, allocations: 0 / 3.139 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003219/7.24, allocations: 0.9765 MB / 3.14 GB, free: 119.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000713/7.241, allocations: 303.5 kB / 3.14 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/7.241, allocations: 23.98 kB / 3.14 GB, free: 119.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/7.242, allocations: 63.95 kB / 3.14 GB, free: 119 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001967/7.243, allocations: 68.86 kB / 3.14 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.536e-05/7.243, allocations: 39.97 kB / 3.14 GB, free: 118.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009463/7.244, allocations: 0.4912 MB / 3.141 GB, free: 118.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/7.244, allocations: 4 kB / 3.141 GB, free: 118.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001658/7.245, allocations: 371 kB / 3.141 GB, free: 118 MB / 0.948 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 (94): * Single equations (assignments): 91 * 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.005802/7.251, allocations: 2.476 MB / 3.143 GB, free: 115.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002689/7.254, allocations: 0.7962 MB / 3.144 GB, free: 114.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/7.254, allocations: 0 / 3.144 GB, free: 114.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/7.256, allocations: 0.5042 MB / 3.145 GB, free: 114.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/7.258, allocations: 239.9 kB / 3.145 GB, free: 114.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/7.274, allocations: 5.364 MB / 3.15 GB, free: 108.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006536/7.274, allocations: 1.055 MB / 3.151 GB, free: 107.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001658/7.276, allocations: 262.5 kB / 3.151 GB, free: 107.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/7.277, allocations: 407.2 kB / 3.152 GB, free: 107 MB / 0.948 GB Notification: Performance of SimCode: time 1.312e-06/7.277, allocations: 0 / 3.152 GB, free: 107 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08425/7.361, allocations: 30.34 MB / 3.181 GB, free: 77.01 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/7.362, allocations: 281.7 kB / 3.182 GB, free: 76.66 MB / 0.948 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_WallSolarAzimuth.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.o Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.c In file included from Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_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_WallSolarAzimuth_functions.o' failed make: *** [Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_functions.o] Error 1