Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.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.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.559/2.559, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.00158/0.00158, allocations: 177.8 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.05/2.05, allocations: 205.4 MB / 0.6295 GB, free: 10.54 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.001146/0.001145, allocations: 89.8 kB / 0.7428 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.000509, allocations: 12.72 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2259, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.8/8.026, allocations: 2.358 GB / 3.337 GB, free: 263.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/8.027, allocations: 104.9 kB / 3.337 GB, free: 263.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.01/16.04, allocations: 1.48 GB / 4.817 GB, free: 91.31 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.607e-06/16.04, allocations: 0 / 4.817 GB, free: 91.31 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001308/16.04, allocations: 193.1 kB / 4.817 GB, free: 91.29 MB / 0.9636 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.03789/16.08, allocations: 7.851 MB / 4.824 GB, free: 88.11 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/16.08, allocations: 10.94 kB / 4.824 GB, free: 88.11 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004386/16.08, allocations: 0.7978 MB / 4.825 GB, free: 88.04 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02872/16.11, allocations: 2.476 MB / 4.828 GB, free: 87.6 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03286/16.14, allocations: 7.906 MB / 4.835 GB, free: 86.63 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007957/16.14, allocations: 436.6 kB / 4.836 GB, free: 86.62 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003692/16.15, allocations: 0.5704 MB / 4.836 GB, free: 86.61 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03812/16.19, allocations: 8.561 MB / 4.845 GB, free: 85.85 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003979/16.19, allocations: 19.09 kB / 4.845 GB, free: 85.84 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002943/16.19, allocations: 245.9 kB / 4.845 GB, free: 85.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003573/16.19, allocations: 265.3 kB / 4.845 GB, free: 85.83 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04113/16.23, allocations: 8.59 MB / 4.854 GB, free: 85.79 MB / 0.9636 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.08499/16.32, allocations: 31.2 MB / 4.884 GB, free: 75.19 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02705/16.34, allocations: 6.144 MB / 4.89 GB, free: 74.89 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00387/16.35, allocations: 2.407 MB / 4.892 GB, free: 72.36 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01516/16.36, allocations: 3.347 MB / 4.896 GB, free: 72.22 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=421): time 1.056e-05/16.36, allocations: 0 / 4.896 GB, free: 72.22 MB / 0.9636 GB Notification: Performance of matching and sorting (n=421): time 0.04208/16.4, allocations: 8.089 MB / 4.904 GB, free: 71.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/16.4, allocations: 381.9 kB / 4.904 GB, free: 71.36 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01492/16.42, allocations: 5.242 MB / 4.909 GB, free: 70.97 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001729/16.42, allocations: 106.1 kB / 4.909 GB, free: 70.94 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004852/16.43, allocations: 3.118 MB / 4.912 GB, free: 69.91 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003051/16.43, allocations: 1.42 MB / 4.914 GB, free: 69 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008103/16.43, allocations: 86.25 kB / 4.914 GB, free: 69 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003901/16.43, allocations: 485.8 kB / 4.914 GB, free: 68.69 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01233/16.44, allocations: 2.528 MB / 4.917 GB, free: 68.67 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01409/16.46, allocations: 3.507 MB / 4.92 GB, free: 67.65 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0139/16.47, allocations: 2.977 MB / 4.923 GB, free: 67.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.343e-05/16.47, allocations: 7.719 kB / 4.923 GB, free: 67.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.03313/16.5, allocations: 6.838 MB / 4.93 GB, free: 65.84 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002423/16.51, allocations: 10.82 MB / 4.94 GB, free: 54.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/16.51, allocations: 26.09 kB / 4.94 GB, free: 54.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/16.51, allocations: 44.69 kB / 4.94 GB, free: 54.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01405/16.52, allocations: 1.277 MB / 4.941 GB, free: 54.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001355/16.52, allocations: 50.77 kB / 4.942 GB, free: 54.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01429/16.54, allocations: 0.8138 MB / 4.942 GB, free: 54.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001827/16.54, allocations: 234.2 kB / 4.943 GB, free: 53.98 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/16.54, allocations: 5.281 kB / 4.943 GB, free: 53.98 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03046/16.57, allocations: 6.309 MB / 4.949 GB, free: 51.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.018e-05/16.57, allocations: 21.06 kB / 4.949 GB, free: 51.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.036e-05/16.57, allocations: 47.56 kB / 4.949 GB, free: 51.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01358/16.58, allocations: 1.27 MB / 4.95 GB, free: 51.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001249/16.58, allocations: 58.19 kB / 4.95 GB, free: 51.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01355/16.59, allocations: 0.7624 MB / 4.951 GB, free: 51.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001801/16.6, allocations: 226.9 kB / 4.951 GB, free: 51.39 MB / 0.9636 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.008142/16.6, allocations: 2.096 MB / 4.953 GB, free: 50.41 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002736/16.61, allocations: 0.5893 MB / 4.954 GB, free: 50.11 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03508/16.64, allocations: 6.954 MB / 4.96 GB, free: 47.51 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.611e-05/16.64, allocations: 55.28 kB / 4.96 GB, free: 47.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/16.64, allocations: 0 / 4.96 GB, free: 47.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02664/16.67, allocations: 5.369 MB / 4.966 GB, free: 45.51 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05895/16.73, allocations: 15.06 MB / 4.98 GB, free: 39.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.791e-05/16.73, allocations: 4.812 kB / 4.98 GB, free: 39.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01251/16.74, allocations: 1.039 MB / 4.981 GB, free: 39.05 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-05/16.74, allocations: 25.28 kB / 4.981 GB, free: 39.05 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001625/16.74, allocations: 144.7 kB / 4.982 GB, free: 38.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.369e-05/16.74, allocations: 27 kB / 4.982 GB, free: 38.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/16.74, allocations: 14.44 kB / 4.982 GB, free: 38.99 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04585/16.79, allocations: 10.91 MB / 4.992 GB, free: 33.51 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007038/16.8, allocations: 1.693 MB / 4.994 GB, free: 32.51 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003344/16.8, allocations: 99.69 kB / 4.994 GB, free: 32.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01315/16.81, allocations: 0.5047 MB / 4.995 GB, free: 32.34 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001393/16.81, allocations: 277 kB / 4.995 GB, free: 32.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001149/16.82, allocations: 205.5 kB / 4.995 GB, free: 32.26 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01278/16.83, allocations: 4.302 MB / 4.999 GB, free: 30.74 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.71e-07/16.83, allocations: 0 / 4.999 GB, free: 30.74 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0211/16.85, allocations: 3.64 MB / 5.003 GB, free: 29.89 MB / 0.9636 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.05051/16.9, allocations: 14.15 MB / 5.017 GB, free: 18.07 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0428/16.94, allocations: 9.44 MB / 5.026 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.152e-05/16.94, allocations: 10.38 kB / 5.026 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01404/16.96, allocations: 3 MB / 5.029 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0277/16.98, allocations: 3.148 MB / 5.032 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.013/18, allocations: 71.51 MB / 5.102 GB, free: 127.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/18.01, allocations: 4.431 MB / 5.106 GB, free: 126.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.02332/18.03, allocations: 2.921 MB / 5.109 GB, free: 126.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009829/18.04, allocations: 3.146 MB / 5.112 GB, free: 126.2 MB / 1.01 GB Notification: Performance of SimCode: time 2.675e-06/18.04, allocations: 0 / 5.112 GB, free: 126.2 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4404/18.48, allocations: 192.9 MB / 5.3 GB, free: 106.2 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/18.48, allocations: 234.8 kB / 5.301 GB, free: 106 MB / 1.01 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_Fluid_SolarCollectors_Validation_EN12975_Series.o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.c In file included from Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.c:7: In file included from ./Buildings_8_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 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c:2: In file included from ./Buildings_8_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_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_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_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o] Error 1