Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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.Examples.Concentrating,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Concentrating,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating",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.807/1.807, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001495/0.001494, allocations: 181 kB / 377.1 MB, free: 1.547 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.091/2.091, allocations: 205.4 MB / 0.6366 GB, free: 8.582 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.000989/0.0009896, allocations: 95.08 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.000441, allocations: 12 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.375, allocations: 116.3 MB / 0.9884 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.545/7.92, allocations: 2.358 GB / 3.347 GB, free: 184.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004282/7.92, allocations: 99.03 kB / 3.347 GB, free: 184.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.404/12.32, allocations: 0.9273 GB / 4.274 GB, free: 118 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.589e-06/12.32, allocations: 0 / 4.274 GB, free: 118 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001318/12.33, allocations: 126.3 kB / 4.274 GB, free: 118 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.02579/12.35, allocations: 5.069 MB / 4.279 GB, free: 116.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/12.35, allocations: 9.969 kB / 4.279 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003701/12.36, allocations: 0.5233 MB / 4.28 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009734/12.36, allocations: 1.147 MB / 4.281 GB, free: 116 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/12.38, allocations: 5.368 MB / 4.286 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005218/12.38, allocations: 282 kB / 4.286 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002328/12.39, allocations: 371.4 kB / 4.287 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02185/12.41, allocations: 5.307 MB / 4.292 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000478/12.41, allocations: 14.16 kB / 4.292 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002718/12.41, allocations: 159.4 kB / 4.292 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003412/12.41, allocations: 177.6 kB / 4.292 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/12.43, allocations: 5.137 MB / 4.297 GB, free: 114.8 MB / 0.948 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.05086/12.48, allocations: 19.5 MB / 4.316 GB, free: 108.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009167/12.49, allocations: 3.635 MB / 4.32 GB, free: 108.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002203/12.49, allocations: 1.863 MB / 4.322 GB, free: 106.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005828/12.5, allocations: 2.018 MB / 4.324 GB, free: 106 MB / 0.948 GB Notification: Performance of pre-optimization done (n=266): time 1.059e-05/12.5, allocations: 0 / 4.324 GB, free: 106 MB / 0.948 GB Notification: Performance of matching and sorting (n=266): time 0.01576/12.51, allocations: 4.975 MB / 4.328 GB, free: 105.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/12.51, allocations: 287.4 kB / 4.329 GB, free: 105.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009187/12.52, allocations: 3.457 MB / 4.332 GB, free: 105 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001141/12.52, allocations: 84.7 kB / 4.332 GB, free: 105 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00289/12.53, allocations: 1.954 MB / 4.334 GB, free: 104.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001845/12.53, allocations: 0.9103 MB / 4.335 GB, free: 103.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007437/12.53, allocations: 53.59 kB / 4.335 GB, free: 103.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003716/12.53, allocations: 423.9 kB / 4.335 GB, free: 103.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004068/12.53, allocations: 1.496 MB / 4.337 GB, free: 103.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004738/12.54, allocations: 2.195 MB / 4.339 GB, free: 102.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004692/12.54, allocations: 1.844 MB / 4.341 GB, free: 102.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.601e-05/12.54, allocations: 6.781 kB / 4.341 GB, free: 102.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01316/12.56, allocations: 4.265 MB / 4.345 GB, free: 102.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002078/12.56, allocations: 7.407 MB / 4.352 GB, free: 94.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-05/12.56, allocations: 18.22 kB / 4.352 GB, free: 94.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007482/12.56, allocations: 116.7 kB / 4.352 GB, free: 94.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004825/12.57, allocations: 0.7895 MB / 4.353 GB, free: 94.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/12.57, allocations: 2.173 MB / 4.355 GB, free: 92.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006436/12.57, allocations: 0.5013 MB / 4.356 GB, free: 92.44 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/12.58, allocations: 144 kB / 4.356 GB, free: 92.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/12.58, allocations: 3.406 kB / 4.356 GB, free: 92.44 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01485/12.59, allocations: 3.928 MB / 4.36 GB, free: 92.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/12.59, allocations: 17.84 kB / 4.36 GB, free: 92.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007417/12.59, allocations: 115.7 kB / 4.36 GB, free: 92.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005054/12.6, allocations: 0.7763 MB / 4.361 GB, free: 92.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/12.6, allocations: 1.588 MB / 4.362 GB, free: 91.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006441/12.61, allocations: 485.4 kB / 4.363 GB, free: 90.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/12.61, allocations: 145.1 kB / 4.363 GB, free: 90.89 MB / 0.948 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.005745/12.61, allocations: 1.499 MB / 4.364 GB, free: 90.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002389/12.61, allocations: 382.8 kB / 4.365 GB, free: 90.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/12.63, allocations: 4.291 MB / 4.369 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.608e-05/12.63, allocations: 32.28 kB / 4.369 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/12.63, allocations: 0 / 4.369 GB, free: 90.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009198/12.64, allocations: 3.417 MB / 4.372 GB, free: 89.91 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03002/12.67, allocations: 8.907 MB / 4.381 GB, free: 89.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/12.67, allocations: 1.156 kB / 4.381 GB, free: 89.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004375/12.67, allocations: 0.6265 MB / 4.381 GB, free: 89.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006581/12.67, allocations: 91.95 kB / 4.382 GB, free: 89.23 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009539/12.67, allocations: 87.02 kB / 4.382 GB, free: 89.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/12.68, allocations: 2.17 MB / 4.384 GB, free: 87.36 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/12.68, allocations: 1.062 kB / 4.384 GB, free: 87.36 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01946/12.7, allocations: 5.961 MB / 4.39 GB, free: 86.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005523/12.7, allocations: 1.078 MB / 4.391 GB, free: 86.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003439/12.71, allocations: 60.33 kB / 4.391 GB, free: 86.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007286/12.71, allocations: 326.4 kB / 4.391 GB, free: 86.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001328/12.71, allocations: 169.5 kB / 4.391 GB, free: 86.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001402/12.72, allocations: 129 kB / 4.391 GB, free: 86.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01016/12.73, allocations: 2.732 MB / 4.394 GB, free: 86.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.757e-06/12.73, allocations: 2.969 kB / 4.394 GB, free: 86.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01776/12.74, allocations: 2.425 MB / 4.396 GB, free: 85.88 MB / 0.948 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.02472/12.77, allocations: 8.22 MB / 4.404 GB, free: 84.36 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01781/12.79, allocations: 5.952 MB / 4.41 GB, free: 84.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.926e-05/12.79, allocations: 5.266 kB / 4.41 GB, free: 84.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005433/12.79, allocations: 1.908 MB / 4.412 GB, free: 83.92 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01334/12.81, allocations: 2.031 MB / 4.414 GB, free: 83.88 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1093/12.91, allocations: 43.71 MB / 4.457 GB, free: 59.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00491/12.92, allocations: 3.105 MB / 4.46 GB, free: 58.35 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01019/12.93, allocations: 2.07 MB / 4.462 GB, free: 58.09 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004773/12.93, allocations: 1.867 MB / 4.464 GB, free: 56.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.244e-06/12.93, allocations: 0 / 4.464 GB, free: 56.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2545/13.19, allocations: 131.5 MB / 4.592 GB, free: 5.93 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/13.19, allocations: 249.6 kB / 4.592 GB, free: 5.598 MB / 0.948 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_Examples_Concentrating.o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating.c:7: In file included from ./Buildings_8_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 -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_Examples_Concentrating_functions.o Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c:2: In file included from ./Buildings_8_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_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Examples_Concentrating_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_Examples_Concentrating_functions.o] Error 1