Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.206/2.206, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 175.3 kB / 325.5 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 205.4 MB / 0.5764 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 92.12 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007804/0.0007806, allocations: 11.84 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2215, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.896/8.118, allocations: 2.475 GB / 3.374 GB, free: 43.07 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/8.118, allocations: 101.7 kB / 3.374 GB, free: 43.02 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.39/16.51, allocations: 1.445 GB / 4.819 GB, free: 90.38 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.064e-06/16.51, allocations: 1.094 kB / 4.819 GB, free: 90.38 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001415/16.51, allocations: 187.8 kB / 4.819 GB, free: 90.35 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.03995/16.55, allocations: 7.848 MB / 4.827 GB, free: 87.32 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/16.55, allocations: 6.969 kB / 4.827 GB, free: 87.32 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004361/16.55, allocations: 0.8053 MB / 4.828 GB, free: 87.25 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02872/16.58, allocations: 2.465 MB / 4.83 GB, free: 86.81 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03371/16.62, allocations: 7.876 MB / 4.838 GB, free: 85.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008001/16.62, allocations: 439.6 kB / 4.838 GB, free: 85.83 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00359/16.62, allocations: 0.574 MB / 4.839 GB, free: 85.82 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0385/16.66, allocations: 8.488 MB / 4.847 GB, free: 85.07 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004553/16.66, allocations: 15.12 kB / 4.847 GB, free: 85.06 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003088/16.66, allocations: 248.9 kB / 4.847 GB, free: 85.06 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003455/16.66, allocations: 271.2 kB / 4.848 GB, free: 85.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04052/16.7, allocations: 8.59 MB / 4.856 GB, free: 85 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08935/16.79, allocations: 31.12 MB / 4.887 GB, free: 74.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02701/16.82, allocations: 6.138 MB / 4.892 GB, free: 74.21 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00372/16.82, allocations: 2.409 MB / 4.895 GB, free: 71.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01509/16.84, allocations: 3.309 MB / 4.898 GB, free: 71.54 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=421): time 1.147e-05/16.84, allocations: 0 / 4.898 GB, free: 71.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=421): time 0.04302/16.88, allocations: 8.081 MB / 4.906 GB, free: 71.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001641/16.88, allocations: 381.8 kB / 4.906 GB, free: 70.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/16.9, allocations: 5.236 MB / 4.911 GB, free: 70.29 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001683/16.9, allocations: 106.2 kB / 4.912 GB, free: 70.26 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004915/16.91, allocations: 3.122 MB / 4.915 GB, free: 69.22 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003116/16.91, allocations: 1.423 MB / 4.916 GB, free: 68.31 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009884/16.91, allocations: 87.56 kB / 4.916 GB, free: 68.31 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004161/16.91, allocations: 483.6 kB / 4.917 GB, free: 68 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01231/16.92, allocations: 2.527 MB / 4.919 GB, free: 67.98 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01376/16.94, allocations: 3.512 MB / 4.922 GB, free: 66.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01406/16.95, allocations: 2.977 MB / 4.925 GB, free: 66.92 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.814e-05/16.95, allocations: 7.5 kB / 4.925 GB, free: 66.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.03572/16.99, allocations: 6.837 MB / 4.932 GB, free: 66.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002475/16.99, allocations: 10.82 MB / 4.943 GB, free: 55.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-05/16.99, allocations: 24.5 kB / 4.943 GB, free: 55.32 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-05/16.99, allocations: 47.75 kB / 4.943 GB, free: 55.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0137/17, allocations: 1.27 MB / 4.944 GB, free: 55.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000117/17, allocations: 58.56 kB / 4.944 GB, free: 55.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/17.02, allocations: 0.8176 MB / 4.945 GB, free: 55.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/17.02, allocations: 223.8 kB / 4.945 GB, free: 55.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/17.02, allocations: 5.938 kB / 4.945 GB, free: 55.07 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03082/17.05, allocations: 6.314 MB / 4.951 GB, free: 54.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.448e-05/17.05, allocations: 22.22 kB / 4.951 GB, free: 54.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.396e-05/17.05, allocations: 49.08 kB / 4.951 GB, free: 54.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01394/17.06, allocations: 1.268 MB / 4.952 GB, free: 54.97 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001168/17.06, allocations: 54.61 kB / 4.952 GB, free: 54.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/17.08, allocations: 0.7625 MB / 4.953 GB, free: 54.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001756/17.08, allocations: 223.6 kB / 4.953 GB, free: 54.75 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (562): * Single equations (assignments): 562 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0074/17.09, allocations: 2.093 MB / 4.955 GB, free: 54.55 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002626/17.09, allocations: 0.5909 MB / 4.956 GB, free: 54.24 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03288/17.12, allocations: 6.96 MB / 4.963 GB, free: 53.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.243e-05/17.12, allocations: 49.88 kB / 4.963 GB, free: 53.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/17.12, allocations: 0 / 4.963 GB, free: 53.94 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02512/17.15, allocations: 5.371 MB / 4.968 GB, free: 53.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05709/17.2, allocations: 15.01 MB / 4.983 GB, free: 52.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/17.2, allocations: 10.25 kB / 4.983 GB, free: 52.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01248/17.22, allocations: 1.043 MB / 4.984 GB, free: 52.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.021e-05/17.22, allocations: 20.72 kB / 4.984 GB, free: 52.31 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001439/17.22, allocations: 144.8 kB / 4.984 GB, free: 52.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.505e-05/17.22, allocations: 27.41 kB / 4.984 GB, free: 52.31 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/17.22, allocations: 17.66 kB / 4.984 GB, free: 52.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04465/17.26, allocations: 10.92 MB / 4.995 GB, free: 49.97 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007418/17.27, allocations: 1.667 MB / 4.996 GB, free: 49.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003786/17.27, allocations: 93.75 kB / 4.996 GB, free: 49.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01323/17.29, allocations: 0.5101 MB / 4.997 GB, free: 49.42 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001489/17.29, allocations: 276.3 kB / 4.997 GB, free: 49.41 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001185/17.29, allocations: 199 kB / 4.997 GB, free: 49.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01287/17.3, allocations: 4.304 MB / 5.002 GB, free: 49.19 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.322e-06/17.3, allocations: 0 / 5.002 GB, free: 49.19 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02165/17.32, allocations: 3.633 MB / 5.005 GB, free: 48.62 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol2.vol[1].dynBal.U,solCol2.vol[2].dynBal.U,solCol2.vol[3].dynBal.U) * 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 (447): * Single equations (assignments): 437 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05189/17.38, allocations: 14.11 MB / 5.019 GB, free: 44.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.04274/17.42, allocations: 9.442 MB / 5.028 GB, free: 44.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.025e-05/17.42, allocations: 4.406 kB / 5.028 GB, free: 44.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01412/17.43, allocations: 3.001 MB / 5.031 GB, free: 44.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02776/17.46, allocations: 3.139 MB / 5.034 GB, free: 44.13 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2079/17.67, allocations: 71.35 MB / 5.104 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01193/17.68, allocations: 4.429 MB / 5.108 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.02783/17.71, allocations: 2.906 MB / 5.111 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01364/17.72, allocations: 3.143 MB / 5.114 GB, free: 3.512 MB / 0.9323 GB Notification: Performance of SimCode: time 1.573e-06/17.72, allocations: 0 / 5.114 GB, free: 3.512 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.256/18.98, allocations: 192.2 MB / 5.302 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/18.98, allocations: 231.2 kB / 5.302 GB, free: 116.6 MB / 0.9636 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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_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 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_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_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o] Error 1