Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Examples.Concentrating,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating",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.284/2.284, allocations: 251 MB / 265.9 MB, free: 11.71 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.001549/0.001549, allocations: 176.5 kB / 325.5 MB, free: 2.914 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.443/2.443, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001152/0.001151, allocations: 96.67 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004914, allocations: 14.84 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2202, allocations: 106.3 MB / 0.8988 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.666/7.887, allocations: 2.474 GB / 3.373 GB, free: 46.71 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003615/7.887, allocations: 101.6 kB / 3.373 GB, free: 46.65 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.973/12.86, allocations: 0.906 GB / 4.279 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.016e-06/12.86, allocations: 0 / 4.279 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0008776/12.86, allocations: 123.5 kB / 4.279 GB, free: 184.4 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.02319/12.88, allocations: 5.06 MB / 4.284 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/12.88, allocations: 6.5 kB / 4.284 GB, free: 181.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002724/12.89, allocations: 0.5228 MB / 4.284 GB, free: 180.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01227/12.9, allocations: 1.145 MB / 4.286 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02071/12.92, allocations: 5.353 MB / 4.291 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/12.92, allocations: 278.7 kB / 4.291 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/12.92, allocations: 367.9 kB / 4.291 GB, free: 173.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/12.94, allocations: 5.264 MB / 4.297 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001863/12.94, allocations: 7.938 kB / 4.297 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001122/12.94, allocations: 156 kB / 4.297 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002356/12.94, allocations: 180.8 kB / 4.297 GB, free: 168 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02104/12.97, allocations: 5.145 MB / 4.302 GB, free: 162.9 MB / 0.8855 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.05016/13.02, allocations: 19.45 MB / 4.321 GB, free: 143 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/13.03, allocations: 3.628 MB / 4.324 GB, free: 139.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002933/13.03, allocations: 1.863 MB / 4.326 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007883/13.04, allocations: 1.991 MB / 4.328 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=266): time 7.414e-06/13.04, allocations: 4 kB / 4.328 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=266): time 0.02304/13.06, allocations: 4.976 MB / 4.333 GB, free: 130.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/13.06, allocations: 287.1 kB / 4.333 GB, free: 129.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00906/13.07, allocations: 3.456 MB / 4.337 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001002/13.07, allocations: 73.7 kB / 4.337 GB, free: 126.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002776/13.08, allocations: 1.96 MB / 4.339 GB, free: 124.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00178/13.08, allocations: 0.9015 MB / 4.34 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004416/13.08, allocations: 56 kB / 4.34 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002377/13.08, allocations: 423.9 kB / 4.34 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006097/13.08, allocations: 1.501 MB / 4.342 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007077/13.09, allocations: 2.194 MB / 4.344 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007242/13.1, allocations: 1.844 MB / 4.345 GB, free: 117 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/13.1, allocations: 4 kB / 4.346 GB, free: 117 MB / 0.8855 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01795/13.12, allocations: 4.269 MB / 4.35 GB, free: 112.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001771/13.12, allocations: 7.412 MB / 4.357 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.629e-05/13.12, allocations: 16 kB / 4.357 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/13.12, allocations: 116.8 kB / 4.357 GB, free: 104.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008017/13.13, allocations: 0.7839 MB / 4.358 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/13.13, allocations: 2.179 MB / 4.36 GB, free: 101.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007906/13.14, allocations: 0.5004 MB / 4.36 GB, free: 100.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/13.14, allocations: 143.9 kB / 4.361 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/13.14, allocations: 4 kB / 4.361 GB, free: 100.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01582/13.16, allocations: 3.927 MB / 4.364 GB, free: 96.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-05/13.16, allocations: 19.94 kB / 4.364 GB, free: 96.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000945/13.16, allocations: 113.5 kB / 4.365 GB, free: 96.65 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007579/13.17, allocations: 0.7762 MB / 4.365 GB, free: 95.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/13.17, allocations: 1.589 MB / 4.367 GB, free: 94.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008075/13.18, allocations: 476.8 kB / 4.367 GB, free: 93.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00114/13.18, allocations: 147.9 kB / 4.367 GB, free: 93.54 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (365): * Single equations (assignments): 363 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.005254/13.18, allocations: 1.497 MB / 4.369 GB, free: 92.03 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001708/13.18, allocations: 379.4 kB / 4.369 GB, free: 91.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01908/13.2, allocations: 4.286 MB / 4.373 GB, free: 87.32 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-05/13.2, allocations: 34.09 kB / 4.373 GB, free: 87.29 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/13.2, allocations: 4 kB / 4.373 GB, free: 87.28 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01479/13.22, allocations: 3.414 MB / 4.377 GB, free: 83.78 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03207/13.25, allocations: 8.884 MB / 4.385 GB, free: 74.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.907e-05/13.25, allocations: 7.891 kB / 4.385 GB, free: 74.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006876/13.26, allocations: 0.6164 MB / 4.386 GB, free: 74.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009093/13.26, allocations: 92.77 kB / 4.386 GB, free: 74.11 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008557/13.26, allocations: 87.92 kB / 4.386 GB, free: 74.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/13.26, allocations: 2.167 MB / 4.388 GB, free: 71.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/13.26, allocations: 0 / 4.388 GB, free: 71.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02337/13.29, allocations: 5.955 MB / 4.394 GB, free: 65.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004307/13.29, allocations: 1.069 MB / 4.395 GB, free: 64.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001846/13.29, allocations: 59.98 kB / 4.395 GB, free: 64.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007709/13.3, allocations: 317.9 kB / 4.396 GB, free: 64.18 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009849/13.3, allocations: 177.9 kB / 4.396 GB, free: 64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005764/13.3, allocations: 127.8 kB / 4.396 GB, free: 63.88 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007391/13.31, allocations: 2.732 MB / 4.399 GB, free: 61.16 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.42e-07/13.31, allocations: 0 / 4.399 GB, free: 61.16 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01357/13.32, allocations: 2.422 MB / 4.401 GB, free: 58.74 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (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,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * 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 (285): * Single equations (assignments): 275 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.02834/13.35, allocations: 8.213 MB / 4.409 GB, free: 50.85 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02311/13.37, allocations: 5.948 MB / 4.415 GB, free: 44.85 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/13.37, allocations: 8.5 kB / 4.415 GB, free: 44.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00755/13.38, allocations: 1.902 MB / 4.417 GB, free: 42.93 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01683/13.4, allocations: 2.036 MB / 4.419 GB, free: 40.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8293/14.23, allocations: 43.69 MB / 4.461 GB, free: 177.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007703/14.24, allocations: 3.108 MB / 4.464 GB, free: 177 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01809/14.25, allocations: 2.04 MB / 4.466 GB, free: 177 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006788/14.26, allocations: 1.863 MB / 4.468 GB, free: 177 MB / 0.8855 GB Notification: Performance of SimCode: time 3.927e-06/14.26, allocations: 0 / 4.468 GB, free: 177 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3043/14.56, allocations: 130.9 MB / 4.596 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/14.57, allocations: 261.2 kB / 4.596 GB, free: 153.9 MB / 0.8855 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_Examples_Concentrating.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_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_Examples_Concentrating_functions.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_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_Examples_Concentrating_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_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_Examples_Concentrating_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.o] Error 1