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.585/2.585, allocations: 248.5 MB / 261 MB, free: 6.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 170.9 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001106/0.001106, allocations: 92.72 kB / 0.6754 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.414e-05/4.425e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2165, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.085/8.302, allocations: 2.474 GB / 3.365 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/8.302, allocations: 87.7 kB / 3.365 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.064/13.37, allocations: 0.9034 GB / 4.268 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.455e-06/13.37, allocations: 0 / 4.268 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001043/13.37, allocations: 125.9 kB / 4.268 GB, free: 129.1 MB / 0.8698 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.02155/13.39, allocations: 4.238 MB / 4.272 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/13.39, allocations: 7.219 kB / 4.272 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002839/13.39, allocations: 0.513 MB / 4.273 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01277/13.41, allocations: 1.143 MB / 4.274 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02305/13.43, allocations: 5.314 MB / 4.279 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004847/13.43, allocations: 287.4 kB / 4.279 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002117/13.43, allocations: 375.5 kB / 4.28 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/13.45, allocations: 4.969 MB / 4.285 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002822/13.45, allocations: 8.094 kB / 4.285 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001784/13.45, allocations: 164.3 kB / 4.285 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002391/13.45, allocations: 177.1 kB / 4.285 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/13.47, allocations: 4.596 MB / 4.289 GB, free: 126.1 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.05587/13.52, allocations: 19.45 MB / 4.308 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01424/13.54, allocations: 3.278 MB / 4.312 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004931/13.54, allocations: 1.664 MB / 4.313 GB, free: 119.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003071/13.55, allocations: 1.866 MB / 4.315 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006034/13.55, allocations: 1.803 MB / 4.317 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=266): time 9.458e-06/13.55, allocations: 0 / 4.317 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=266): time 0.01353/13.57, allocations: 3.123 MB / 4.32 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/13.57, allocations: 284.8 kB / 4.32 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009906/13.58, allocations: 3.416 MB / 4.324 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.00106/13.58, allocations: 77.14 kB / 4.324 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.003165/13.58, allocations: 1.958 MB / 4.326 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001866/13.58, allocations: 0.9035 MB / 4.326 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004768/13.58, allocations: 54.56 kB / 4.326 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003167/13.58, allocations: 427 kB / 4.327 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00417/13.59, allocations: 1.324 MB / 4.328 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005151/13.59, allocations: 2.006 MB / 4.33 GB, free: 114 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005243/13.6, allocations: 1.675 MB / 4.332 GB, free: 114 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-05/13.6, allocations: 3.938 kB / 4.332 GB, free: 114 MB / 0.8698 GB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01497/13.61, allocations: 3.906 MB / 4.336 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.002109/13.62, allocations: 7.409 MB / 4.343 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/13.62, allocations: 15.44 kB / 4.343 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/13.62, allocations: 113.7 kB / 4.343 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008274/13.62, allocations: 0.796 MB / 4.344 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003485/13.63, allocations: 2.158 MB / 4.346 GB, free: 104 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008357/13.64, allocations: 0.4968 MB / 4.346 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/13.64, allocations: 142.2 kB / 4.346 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/13.64, allocations: 7.641 kB / 4.346 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01213/13.65, allocations: 3.567 MB / 4.35 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.417e-05/13.65, allocations: 15.69 kB / 4.35 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/13.65, allocations: 108.7 kB / 4.35 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007941/13.66, allocations: 0.7856 MB / 4.351 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/13.66, allocations: 1.571 MB / 4.352 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007929/13.67, allocations: 477.8 kB / 4.353 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/13.67, allocations: 139.4 kB / 4.353 GB, free: 102.3 MB / 0.8698 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 () * 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.001261/13.67, allocations: 282.5 kB / 4.353 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001669/13.67, allocations: 383.7 kB / 4.354 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/13.69, allocations: 3.928 MB / 4.357 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.914e-05/13.69, allocations: 29.78 kB / 4.357 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/13.69, allocations: 0 / 4.357 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01025/13.7, allocations: 3.061 MB / 4.36 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02954/13.73, allocations: 8.52 MB / 4.369 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/13.73, allocations: 3.281 kB / 4.369 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007078/13.74, allocations: 0.6214 MB / 4.369 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009305/13.74, allocations: 92.09 kB / 4.369 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008792/13.74, allocations: 91.58 kB / 4.37 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/13.74, allocations: 2.151 MB / 4.372 GB, free: 98.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/13.74, allocations: 7.703 kB / 4.372 GB, free: 98.79 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/13.76, allocations: 5.427 MB / 4.377 GB, free: 97.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004565/13.76, allocations: 1.065 MB / 4.378 GB, free: 97.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002122/13.77, allocations: 59.45 kB / 4.378 GB, free: 97.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007771/13.77, allocations: 318.2 kB / 4.378 GB, free: 97.15 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009006/13.77, allocations: 178.4 kB / 4.379 GB, free: 97.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006197/13.77, allocations: 122.3 kB / 4.379 GB, free: 97.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.007361/13.78, allocations: 2.693 MB / 4.381 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.012e-06/13.78, allocations: 0 / 4.381 GB, free: 96.12 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01391/13.8, allocations: 2.42 MB / 4.384 GB, free: 95.54 MB / 0.8698 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) * 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.02213/13.82, allocations: 7.649 MB / 4.391 GB, free: 92.23 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01706/13.84, allocations: 5.522 MB / 4.396 GB, free: 90.24 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/13.84, allocations: 0.5625 kB / 4.396 GB, free: 90.24 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005585/13.84, allocations: 1.737 MB / 4.398 GB, free: 89.59 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01746/13.86, allocations: 2.029 MB / 4.4 GB, free: 89.25 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0325/13.89, allocations: 9.14 MB / 4.409 GB, free: 86.13 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005353/13.9, allocations: 3.113 MB / 4.412 GB, free: 85 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.02004/13.92, allocations: 2.994 MB / 4.415 GB, free: 84.82 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005231/13.92, allocations: 1.785 MB / 4.417 GB, free: 83.43 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/13.92, allocations: 3.375 kB / 4.417 GB, free: 83.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3159/14.24, allocations: 137.3 MB / 4.551 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/14.24, allocations: 231.4 kB / 4.551 GB, free: 3.363 MB / 0.8855 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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