Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.EN12975_Series.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Validation.EN12975_Series,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.983/1.983, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.002182/0.002182, allocations: 184.2 kB / 377.1 MB, free: 1.539 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.03/2.03, allocations: 205.4 MB / 0.6366 GB, free: 8.566 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 88.3 kB / 0.7509 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005135/0.0005138, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3241, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.06/7.384, allocations: 2.36 GB / 3.348 GB, free: 183.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/7.385, allocations: 98.62 kB / 3.348 GB, free: 183.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.641/13.03, allocations: 1.48 GB / 4.828 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.315e-06/13.03, allocations: 0 / 4.828 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001593/13.03, allocations: 191.6 kB / 4.828 GB, free: 113.1 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.03744/13.07, allocations: 7.855 MB / 4.836 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.817e-05/13.07, allocations: 7.188 kB / 4.836 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005383/13.07, allocations: 0.7956 MB / 4.836 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01795/13.09, allocations: 2.473 MB / 4.839 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02749/13.12, allocations: 7.911 MB / 4.847 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007034/13.12, allocations: 439.9 kB / 4.847 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004049/13.12, allocations: 0.5767 MB / 4.848 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03439/13.16, allocations: 8.555 MB / 4.856 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004053/13.16, allocations: 14.38 kB / 4.856 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002933/13.16, allocations: 250.5 kB / 4.856 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003461/13.16, allocations: 267.7 kB / 4.856 GB, free: 100.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02824/13.19, allocations: 8.588 MB / 4.865 GB, free: 97.64 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.07875/13.27, allocations: 31.19 MB / 4.895 GB, free: 73.37 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01688/13.28, allocations: 6.152 MB / 4.901 GB, free: 70.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002839/13.29, allocations: 2.407 MB / 4.904 GB, free: 67.39 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01011/13.3, allocations: 3.352 MB / 4.907 GB, free: 65.41 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=421): time 1.133e-05/13.3, allocations: 0 / 4.907 GB, free: 65.41 MB / 0.9636 GB Notification: Performance of matching and sorting (n=421): time 0.02798/13.32, allocations: 8.082 MB / 4.915 GB, free: 58.33 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001758/13.32, allocations: 385.5 kB / 4.915 GB, free: 57.88 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01362/13.34, allocations: 5.239 MB / 4.92 GB, free: 52.62 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.001792/13.34, allocations: 101.7 kB / 4.92 GB, free: 52.52 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004749/13.34, allocations: 3.118 MB / 4.923 GB, free: 49.39 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002881/13.35, allocations: 1.423 MB / 4.925 GB, free: 47.98 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/13.35, allocations: 91.94 kB / 4.925 GB, free: 47.89 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0005348/13.35, allocations: 487.5 kB / 4.925 GB, free: 47.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007405/13.36, allocations: 2.519 MB / 4.928 GB, free: 44.88 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00834/13.37, allocations: 3.509 MB / 4.931 GB, free: 40.97 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00802/13.37, allocations: 2.985 MB / 4.934 GB, free: 37.98 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.162e-05/13.37, allocations: 4 kB / 4.934 GB, free: 37.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=562) (initialization): time 0.02232/13.4, allocations: 6.838 MB / 4.941 GB, free: 31.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.003416/13.4, allocations: 10.82 MB / 4.951 GB, free: 19.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-05/13.4, allocations: 24 kB / 4.951 GB, free: 19.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.702e-05/13.4, allocations: 44 kB / 4.951 GB, free: 19.55 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008156/13.41, allocations: 1.271 MB / 4.953 GB, free: 18.28 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.922e-05/13.41, allocations: 59.8 kB / 4.953 GB, free: 18.22 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009704/13.42, allocations: 0.8147 MB / 4.954 GB, free: 17.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/13.42, allocations: 227.8 kB / 4.954 GB, free: 17.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/13.42, allocations: 8 kB / 4.954 GB, free: 17.18 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0147/13.43, allocations: 6.309 MB / 4.96 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.962e-05/13.43, allocations: 20 kB / 4.96 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.881e-05/13.43, allocations: 52.2 kB / 4.96 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006619/13.44, allocations: 1.268 MB / 4.961 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.299e-05/13.44, allocations: 63.78 kB / 4.961 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008902/13.45, allocations: 0.7608 MB / 4.962 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009921/13.45, allocations: 223.8 kB / 4.962 GB, free: 8.473 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.005787/13.46, allocations: 2.096 MB / 4.964 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002616/13.46, allocations: 0.5904 MB / 4.965 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01734/13.48, allocations: 6.946 MB / 4.972 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.898e-05/13.48, allocations: 55.64 kB / 4.972 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/13.48, allocations: 4 kB / 4.972 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01391/13.49, allocations: 5.374 MB / 4.977 GB, free: 9.324 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03742/13.53, allocations: 15.05 MB / 4.992 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/13.53, allocations: 8 kB / 4.992 GB, free: 10.14 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006106/13.53, allocations: 1.045 MB / 4.993 GB, free: 9.102 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.535e-05/13.53, allocations: 24 kB / 4.993 GB, free: 9.078 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004714/13.53, allocations: 143.9 kB / 4.993 GB, free: 8.938 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.562e-05/13.53, allocations: 23.94 kB / 4.993 GB, free: 8.914 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.988e-06/13.53, allocations: 11.94 kB / 4.993 GB, free: 8.902 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7787/14.31, allocations: 10.92 MB / 5.004 GB, free: 140.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007009/14.32, allocations: 1.687 MB / 5.005 GB, free: 140.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003674/14.32, allocations: 94.11 kB / 5.005 GB, free: 140.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009892/14.33, allocations: 0.5065 MB / 5.006 GB, free: 140.8 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008618/14.33, allocations: 283.7 kB / 5.006 GB, free: 140.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008062/14.34, allocations: 203.8 kB / 5.006 GB, free: 140.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.009794/14.35, allocations: 4.3 MB / 5.01 GB, free: 140.6 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.22e-07/14.35, allocations: 0 / 5.01 GB, free: 140.6 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.02096/14.37, allocations: 3.639 MB / 5.014 GB, free: 140.6 MB / 0.9948 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.0361/14.4, allocations: 14.13 MB / 5.028 GB, free: 136.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0294/14.43, allocations: 9.443 MB / 5.037 GB, free: 136.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.612e-05/14.43, allocations: 4.344 kB / 5.037 GB, free: 136.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.009644/14.44, allocations: 2.998 MB / 5.04 GB, free: 136.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02014/14.46, allocations: 3.153 MB / 5.043 GB, free: 136.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1787/14.64, allocations: 71.35 MB / 5.113 GB, free: 97.23 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01185/14.65, allocations: 4.424 MB / 5.117 GB, free: 96.37 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02254/14.68, allocations: 2.922 MB / 5.12 GB, free: 95.93 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01183/14.69, allocations: 3.146 MB / 5.123 GB, free: 95.93 MB / 0.9948 GB Notification: Performance of SimCode: time 1.609e-05/14.69, allocations: 0 / 5.123 GB, free: 95.93 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3468/15.03, allocations: 192.9 MB / 5.311 GB, free: 29.46 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/15.03, allocations: 228.6 kB / 5.312 GB, free: 29.22 MB / 0.9948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.o Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series.c:7: In file included from ./Buildings_8_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c:2: In file included from ./Buildings_8_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_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Fluid_SolarCollectors_Validation_EN12975_Series_functions.o] Error 1