Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.554/4.554, allocations: 460.4 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.638e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2462, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.315/7.562, allocations: 2.228 GB / 2.9 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/7.562, allocations: 91.02 kB / 2.9 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.972/15.53, allocations: 1.41 GB / 4.31 GB, free: 139 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.998e-06/15.53, allocations: 1.5 kB / 4.31 GB, free: 139 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0009417/15.53, allocations: 124.5 kB / 4.31 GB, free: 139 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.02222/15.56, allocations: 5.522 MB / 4.315 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/15.56, allocations: 10.78 kB / 4.315 GB, free: 136.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002442/15.56, allocations: 0.5148 MB / 4.316 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/15.58, allocations: 1.608 MB / 4.317 GB, free: 136 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02101/15.6, allocations: 5.233 MB / 4.323 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/15.6, allocations: 281.7 kB / 4.323 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001867/15.6, allocations: 374.6 kB / 4.323 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/15.62, allocations: 5.084 MB / 4.328 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001393/15.62, allocations: 7.25 kB / 4.328 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00125/15.62, allocations: 160.9 kB / 4.328 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000181/15.62, allocations: 158.4 kB / 4.328 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01739/15.64, allocations: 4.683 MB / 4.333 GB, free: 134 MB / 0.8855 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.0523/15.69, allocations: 19.21 MB / 4.352 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008997/15.7, allocations: 3.4 MB / 4.355 GB, free: 113 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004239/15.7, allocations: 1.7 MB / 4.357 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003226/15.71, allocations: 2.534 MB / 4.359 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005574/15.71, allocations: 1.903 MB / 4.361 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=284): time 6.682e-06/15.71, allocations: 6.188 kB / 4.361 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=284): time 0.0142/15.73, allocations: 3.791 MB / 4.365 GB, free: 102.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/15.73, allocations: 287.3 kB / 4.365 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008409/15.74, allocations: 3.312 MB / 4.368 GB, free: 98.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001022/15.74, allocations: 84.55 kB / 4.368 GB, free: 98.71 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002495/15.74, allocations: 1.947 MB / 4.37 GB, free: 96.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001856/15.74, allocations: 0.9615 MB / 4.371 GB, free: 95.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/15.74, allocations: 60 kB / 4.371 GB, free: 95.74 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002176/15.74, allocations: 428.1 kB / 4.372 GB, free: 95.31 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003771/15.75, allocations: 1.396 MB / 4.373 GB, free: 93.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004551/15.75, allocations: 2.014 MB / 4.375 GB, free: 91.68 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004802/15.76, allocations: 1.75 MB / 4.377 GB, free: 89.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.36e-05/15.76, allocations: 4 kB / 4.377 GB, free: 89.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01326/15.77, allocations: 4.024 MB / 4.381 GB, free: 85.87 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001377/15.77, allocations: 6.55 MB / 4.387 GB, free: 78.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/15.77, allocations: 16 kB / 4.387 GB, free: 78.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/15.77, allocations: 116.5 kB / 4.387 GB, free: 78.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008076/15.78, allocations: 0.7901 MB / 4.388 GB, free: 77.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/15.78, allocations: 2.151 MB / 4.39 GB, free: 75.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008978/15.79, allocations: 0.5228 MB / 4.391 GB, free: 75.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/15.79, allocations: 155.9 kB / 4.391 GB, free: 74.94 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/15.79, allocations: 4 kB / 4.391 GB, free: 74.94 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01118/15.8, allocations: 3.685 MB / 4.394 GB, free: 71.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/15.8, allocations: 12 kB / 4.394 GB, free: 71.22 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009493/15.8, allocations: 118.7 kB / 4.394 GB, free: 71.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007738/15.81, allocations: 0.7819 MB / 4.395 GB, free: 70.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/15.82, allocations: 1.566 MB / 4.397 GB, free: 68.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00889/15.82, allocations: 0.494 MB / 4.397 GB, free: 68.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/15.83, allocations: 159.3 kB / 4.397 GB, free: 68.01 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (378): * Single equations (assignments): 376 * 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.001291/15.83, allocations: 287 kB / 4.398 GB, free: 67.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/15.83, allocations: 387.3 kB / 4.398 GB, free: 67.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01764/15.85, allocations: 4.73 MB / 4.403 GB, free: 62.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.67e-05/15.85, allocations: 28 kB / 4.403 GB, free: 62.58 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/15.85, allocations: 0 / 4.403 GB, free: 62.58 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01193/15.86, allocations: 3.662 MB / 4.406 GB, free: 58.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02834/15.89, allocations: 9.524 MB / 4.416 GB, free: 49.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/15.89, allocations: 6 kB / 4.416 GB, free: 49.22 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006815/15.89, allocations: 0.6151 MB / 4.416 GB, free: 48.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00475/15.9, allocations: 0.6534 MB / 4.417 GB, free: 47.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008576/15.9, allocations: 95.91 kB / 4.417 GB, free: 47.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006335/15.91, allocations: 7.527 MB / 4.424 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/15.91, allocations: 0 / 4.424 GB, free: 39.95 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01866/15.92, allocations: 6.182 MB / 4.43 GB, free: 33.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004406/15.93, allocations: 1.143 MB / 4.431 GB, free: 32.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001672/15.93, allocations: 55.95 kB / 4.431 GB, free: 32.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007901/15.94, allocations: 318.4 kB / 4.432 GB, free: 32.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009222/15.94, allocations: 190 kB / 4.432 GB, free: 31.96 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005824/15.94, allocations: 135.9 kB / 4.432 GB, free: 31.83 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.006945/15.95, allocations: 2.6 MB / 4.435 GB, free: 29.25 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.152e-06/15.95, allocations: 0 / 4.435 GB, free: 29.25 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01559/15.96, allocations: 2.878 MB / 4.437 GB, free: 26.36 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02263/15.99, allocations: 8.409 MB / 4.446 GB, free: 18.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01639/16, allocations: 5.7 MB / 4.451 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/16, allocations: 4.562 kB / 4.451 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005949/16.01, allocations: 1.931 MB / 4.453 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01558/16.02, allocations: 1.924 MB / 4.455 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/16.05, allocations: 9.432 MB / 4.464 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00579/16.06, allocations: 3.149 MB / 4.467 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.02193/16.08, allocations: 3.638 MB / 4.471 GB, free: 8.578 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006529/16.09, allocations: 1.854 MB / 4.473 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of SimCode: time 1.713e-06/16.09, allocations: 0 / 4.473 GB, free: 6.727 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.031/17.12, allocations: 140.7 MB / 4.61 GB, free: 133.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/17.12, allocations: 220.2 kB / 4.61 GB, free: 133.6 MB / 0.9011 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.o Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.c In file included from Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_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_FlatPlate_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Resources/C-Sources/getTimeSpan.h:11: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_FlatPlate_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.o] Error 1