Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.455/4.455, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.75e-05, allocations: 4 kB / 0.5732 GB, free: 5.648 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2384, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.541/7.779, allocations: 2.228 GB / 2.906 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003939/7.78, allocations: 89.2 kB / 2.906 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.798/15.58, allocations: 1.41 GB / 4.316 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.304e-06/15.58, allocations: 0 / 4.316 GB, free: 134.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001135/15.58, allocations: 125.2 kB / 4.316 GB, free: 134.3 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.0272/15.61, allocations: 5.527 MB / 4.322 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/15.61, allocations: 12.25 kB / 4.322 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002732/15.61, allocations: 0.515 MB / 4.322 GB, free: 131.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02686/15.64, allocations: 1.604 MB / 4.324 GB, free: 131.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02062/15.66, allocations: 5.231 MB / 4.329 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/15.66, allocations: 278 kB / 4.329 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001925/15.66, allocations: 371 kB / 4.33 GB, free: 130.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01646/15.68, allocations: 5.092 MB / 4.334 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/15.68, allocations: 7.875 kB / 4.334 GB, free: 129.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008865/15.68, allocations: 159 kB / 4.335 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/15.68, allocations: 159.5 kB / 4.335 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01473/15.69, allocations: 4.678 MB / 4.339 GB, free: 125.6 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.04985/15.74, allocations: 19.21 MB / 4.358 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/15.75, allocations: 3.406 MB / 4.361 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00654/15.76, allocations: 1.702 MB / 4.363 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004091/15.76, allocations: 2.527 MB / 4.366 GB, free: 98.16 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005541/15.77, allocations: 1.907 MB / 4.367 GB, free: 96.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=284): time 6.833e-06/15.77, allocations: 0 / 4.367 GB, free: 96.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=284): time 0.01391/15.78, allocations: 3.786 MB / 4.371 GB, free: 92.39 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/15.78, allocations: 291.3 kB / 4.371 GB, free: 92.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008891/15.79, allocations: 3.316 MB / 4.375 GB, free: 88.74 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001027/15.79, allocations: 80.45 kB / 4.375 GB, free: 88.66 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002942/15.8, allocations: 1.944 MB / 4.377 GB, free: 86.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/15.8, allocations: 0.9671 MB / 4.378 GB, free: 85.74 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004706/15.8, allocations: 60 kB / 4.378 GB, free: 85.68 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003052/15.8, allocations: 424.1 kB / 4.378 GB, free: 85.26 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004121/15.8, allocations: 1.4 MB / 4.379 GB, free: 83.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00493/15.81, allocations: 2.013 MB / 4.381 GB, free: 81.62 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004891/15.81, allocations: 1.744 MB / 4.383 GB, free: 79.88 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.327e-05/15.81, allocations: 4 kB / 4.383 GB, free: 79.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.0133/15.83, allocations: 4.018 MB / 4.387 GB, free: 75.83 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001346/15.83, allocations: 6.559 MB / 4.393 GB, free: 68.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-05/15.83, allocations: 12 kB / 4.393 GB, free: 68.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/15.83, allocations: 112.7 kB / 4.394 GB, free: 68.65 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007995/15.84, allocations: 0.8047 MB / 4.394 GB, free: 67.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/15.84, allocations: 2.144 MB / 4.396 GB, free: 65.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00889/15.85, allocations: 0.527 MB / 4.397 GB, free: 65.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/15.85, allocations: 162.5 kB / 4.397 GB, free: 64.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/15.85, allocations: 7.953 kB / 4.397 GB, free: 64.88 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01127/15.86, allocations: 3.673 MB / 4.401 GB, free: 61.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/15.86, allocations: 16 kB / 4.401 GB, free: 61.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009648/15.86, allocations: 112.9 kB / 4.401 GB, free: 61.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007672/15.87, allocations: 0.7915 MB / 4.402 GB, free: 60.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/15.87, allocations: 1.56 MB / 4.403 GB, free: 58.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008801/15.88, allocations: 0.4926 MB / 4.404 GB, free: 58.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/15.88, allocations: 155.9 kB / 4.404 GB, free: 57.96 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.001337/15.88, allocations: 284.1 kB / 4.404 GB, free: 57.68 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/15.89, allocations: 387.2 kB / 4.404 GB, free: 57.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/15.9, allocations: 4.73 MB / 4.409 GB, free: 52.56 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.798e-05/15.9, allocations: 35.95 kB / 4.409 GB, free: 52.53 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/15.9, allocations: 2.594 kB / 4.409 GB, free: 52.53 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01301/15.92, allocations: 3.65 MB / 4.413 GB, free: 48.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02961/15.95, allocations: 9.536 MB / 4.422 GB, free: 39.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/15.95, allocations: 4 kB / 4.422 GB, free: 39.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006775/15.95, allocations: 0.6049 MB / 4.422 GB, free: 38.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004775/15.96, allocations: 0.6535 MB / 4.423 GB, free: 37.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009007/15.96, allocations: 95.91 kB / 4.423 GB, free: 37.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00649/15.96, allocations: 7.52 MB / 4.431 GB, free: 29.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/15.96, allocations: 0 / 4.431 GB, free: 29.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02889/15.99, allocations: 6.202 MB / 4.437 GB, free: 23.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006269/16, allocations: 1.132 MB / 4.438 GB, free: 22.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002737/16, allocations: 63.98 kB / 4.438 GB, free: 22.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01237/16.02, allocations: 323.4 kB / 4.438 GB, free: 22.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001188/16.02, allocations: 182.1 kB / 4.438 GB, free: 21.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000933/16.02, allocations: 135.9 kB / 4.438 GB, free: 21.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.009793/16.03, allocations: 2.604 MB / 4.441 GB, free: 19.15 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.022e-06/16.03, allocations: 0 / 4.441 GB, free: 19.15 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0158/16.04, allocations: 2.866 MB / 4.444 GB, free: 16.29 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.02462/16.07, allocations: 8.415 MB / 4.452 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01727/16.08, allocations: 5.704 MB / 4.458 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/16.08, allocations: 0.5625 kB / 4.458 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006429/16.09, allocations: 1.937 MB / 4.459 GB, free: 416 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0169/16.11, allocations: 1.926 MB / 4.461 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03577/16.14, allocations: 9.44 MB / 4.471 GB, free: 5.105 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005912/16.15, allocations: 3.153 MB / 4.474 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.02173/16.17, allocations: 3.636 MB / 4.477 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0064/16.18, allocations: 1.846 MB / 4.479 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of SimCode: time 2.074e-06/16.18, allocations: 0 / 4.479 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.042/17.22, allocations: 140.7 MB / 4.616 GB, free: 145.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/17.22, allocations: 229.3 kB / 4.617 GB, free: 145.5 MB / 0.9167 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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.o Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlate.c:7: In file included from ./Buildings_latest_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 latest/Resources/C-Sources" -c -o Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.o Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.c In file included from Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.c:2: In file included from ./Buildings_latest_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_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.c:7: In file included from ./Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_includes.h:4: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Resources/C-Sources/getTimeSpan.c:12: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/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_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.o' failed make: *** [Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlate_functions.o] Error 1