Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.218/4.218, allocations: 464.6 MB / 476.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.907e-05, allocations: 3.984 kB / 0.5732 GB, free: 5.652 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2462, allocations: 107.1 MB / 0.6778 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.276/7.522, allocations: 2.193 GB / 2.871 GB, free: 255.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/7.523, allocations: 100.1 kB / 2.871 GB, free: 255.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2364/7.759, allocations: 63.75 MB / 2.933 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.844e-06/7.759, allocations: 0 / 2.933 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001182/7.759, allocations: 35.94 kB / 2.933 GB, free: 203.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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003545/7.763, allocations: 1.312 MB / 2.934 GB, free: 202 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/7.763, allocations: 8.031 kB / 2.934 GB, free: 202 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000521/7.763, allocations: 176.7 kB / 2.934 GB, free: 201.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/7.765, allocations: 222.1 kB / 2.935 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/7.767, allocations: 0.7509 MB / 2.935 GB, free: 201 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/7.767, allocations: 94.64 kB / 2.935 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002489/7.768, allocations: 124.8 kB / 2.936 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/7.771, allocations: 1.192 MB / 2.937 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.175e-05/7.771, allocations: 7.938 kB / 2.937 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/7.771, allocations: 55.22 kB / 2.937 GB, free: 200 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/7.771, allocations: 42.25 kB / 2.937 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003476/7.775, allocations: 1.345 MB / 2.938 GB, free: 198.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00951/7.784, allocations: 3.499 MB / 2.942 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/7.787, allocations: 0.9907 MB / 2.942 GB, free: 195.6 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/7.788, allocations: 420.6 kB / 2.943 GB, free: 195.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/7.788, allocations: 33.03 kB / 2.943 GB, free: 195.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/7.789, allocations: 0.5807 MB / 2.943 GB, free: 194.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=118): time 4.559e-06/7.789, allocations: 0 / 2.943 GB, free: 194.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=118): time 0.003404/7.793, allocations: 0.958 MB / 2.944 GB, free: 193.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/7.793, allocations: 252.3 kB / 2.945 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/7.794, allocations: 0.6675 MB / 2.945 GB, free: 192.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003548/7.795, allocations: 61.7 kB / 2.945 GB, free: 192.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004625/7.795, allocations: 464.8 kB / 2.946 GB, free: 192.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004504/7.796, allocations: 347.3 kB / 2.946 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/7.796, allocations: 20 kB / 2.946 GB, free: 191.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001765/7.796, allocations: 402.8 kB / 2.947 GB, free: 191.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009378/7.797, allocations: 346.5 kB / 2.947 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/7.798, allocations: 0.5061 MB / 2.947 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009792/7.799, allocations: 388.8 kB / 2.948 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/7.799, allocations: 0 / 2.948 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0034/7.803, allocations: 1.071 MB / 2.949 GB, free: 189 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/7.803, allocations: 8 kB / 2.949 GB, free: 189 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/7.803, allocations: 0 / 2.949 GB, free: 189 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009935/7.804, allocations: 88.88 kB / 2.949 GB, free: 188.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/7.805, allocations: 183.6 kB / 2.949 GB, free: 188.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/7.808, allocations: 1.524 MB / 2.951 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/7.81, allocations: 135.3 kB / 2.951 GB, free: 187 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/7.81, allocations: 47.92 kB / 2.951 GB, free: 186.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con3.condition,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.0004022/7.81, allocations: 216.8 kB / 2.951 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/7.81, allocations: 102.8 kB / 2.951 GB, free: 186.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005587/7.816, allocations: 1.297 MB / 2.952 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/7.816, allocations: 12 kB / 2.952 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/7.816, allocations: 3.984 kB / 2.952 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/7.816, allocations: 3.984 kB / 2.952 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008833/7.825, allocations: 2.584 MB / 2.955 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/7.825, allocations: 3.938 kB / 2.955 GB, free: 182.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/7.827, allocations: 175.7 kB / 2.955 GB, free: 182.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001208/7.828, allocations: 88.77 kB / 2.955 GB, free: 182.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/7.828, allocations: 27.98 kB / 2.955 GB, free: 182.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003219/7.832, allocations: 1.544 MB / 2.957 GB, free: 180.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/7.832, allocations: 0 / 2.957 GB, free: 180.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004641/7.836, allocations: 1.192 MB / 2.958 GB, free: 179.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/7.837, allocations: 327.4 kB / 2.958 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/7.838, allocations: 32 kB / 2.958 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/7.84, allocations: 107.9 kB / 2.958 GB, free: 179 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004977/7.84, allocations: 117.1 kB / 2.958 GB, free: 178.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/7.84, allocations: 47.97 kB / 2.958 GB, free: 178.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001306/7.842, allocations: 0.4991 MB / 2.959 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.71e-07/7.842, allocations: 0 / 2.959 GB, free: 178.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002463/7.844, allocations: 415.2 kB / 2.959 GB, free: 177.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse18,$cse19,$cse20,$cse21,$cse22,$cse23,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.008102/7.852, allocations: 2.682 MB / 2.962 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004047/7.856, allocations: 1.031 MB / 2.963 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/7.856, allocations: 0 / 2.963 GB, free: 174.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/7.859, allocations: 0.6319 MB / 2.964 GB, free: 173.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/7.862, allocations: 280.9 kB / 2.964 GB, free: 173.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/7.872, allocations: 1.981 MB / 2.966 GB, free: 171.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/7.873, allocations: 1.147 MB / 2.967 GB, free: 170.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00238/7.875, allocations: 296.6 kB / 2.967 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/7.877, allocations: 479.2 kB / 2.968 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.633e-06/7.877, allocations: 3.938 kB / 2.968 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/8.017, allocations: 36.23 MB / 3.003 GB, free: 133.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/8.018, allocations: 252.6 kB / 3.003 GB, free: 133.1 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/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_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.o Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.c In file included from Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.c:7: In file included from ./Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_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_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.o Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.c In file included from Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.c:2: In file included from ./Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_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_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.c:7: In file included from ./Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_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_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.o' failed make: *** [Buildings_latest_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.o] Error 1