Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.2/4.2, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.441e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2475, allocations: 106.2 MB / 0.6719 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.317/7.565, allocations: 2.192 GB / 2.864 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/7.565, allocations: 100.5 kB / 2.864 GB, free: 200 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2573/7.822, allocations: 63.74 MB / 2.927 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.013e-06/7.822, allocations: 4 kB / 2.927 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001099/7.822, allocations: 35.94 kB / 2.927 GB, free: 146.3 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003301/7.826, allocations: 1.312 MB / 2.928 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/7.826, allocations: 8.031 kB / 2.928 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003937/7.826, allocations: 177.4 kB / 2.928 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/7.828, allocations: 226.1 kB / 2.928 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/7.83, allocations: 0.7562 MB / 2.929 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/7.83, allocations: 98.27 kB / 2.929 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/7.83, allocations: 120 kB / 2.929 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/7.833, allocations: 1.193 MB / 2.93 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/7.833, allocations: 4 kB / 2.93 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/7.833, allocations: 48 kB / 2.93 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/7.833, allocations: 46.23 kB / 2.931 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/7.837, allocations: 1.347 MB / 2.932 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008497/7.845, allocations: 3.494 MB / 2.935 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002301/7.847, allocations: 0.9862 MB / 2.936 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009175/7.848, allocations: 416.3 kB / 2.937 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/7.849, allocations: 41.02 kB / 2.937 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/7.85, allocations: 0.5846 MB / 2.937 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=118): time 4.237e-06/7.85, allocations: 0 / 2.937 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118): time 0.003225/7.853, allocations: 0.958 MB / 2.938 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/7.853, allocations: 252.3 kB / 2.938 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/7.855, allocations: 0.6675 MB / 2.939 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002729/7.855, allocations: 65.69 kB / 2.939 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000433/7.855, allocations: 464.8 kB / 2.94 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/7.856, allocations: 343.3 kB / 2.94 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.202e-05/7.856, allocations: 24 kB / 2.94 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001485/7.856, allocations: 402.8 kB / 2.94 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/7.857, allocations: 342.6 kB / 2.941 GB, free: 131.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/7.858, allocations: 0.5061 MB / 2.941 GB, free: 131 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/7.859, allocations: 388.8 kB / 2.941 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/7.859, allocations: 3.953 kB / 2.941 GB, free: 130.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003381/7.862, allocations: 1.067 MB / 2.943 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/7.862, allocations: 8 kB / 2.943 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/7.863, allocations: 0 / 2.943 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009783/7.864, allocations: 92.86 kB / 2.943 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/7.865, allocations: 183.6 kB / 2.943 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/7.868, allocations: 1.528 MB / 2.944 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/7.869, allocations: 131.3 kB / 2.944 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/7.87, allocations: 51.92 kB / 2.944 GB, free: 127.4 MB / 0.8698 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.0004104/7.87, allocations: 208.8 kB / 2.945 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/7.87, allocations: 98.78 kB / 2.945 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/7.874, allocations: 1.301 MB / 2.946 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/7.874, allocations: 19.95 kB / 2.946 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/7.874, allocations: 0 / 2.946 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/7.874, allocations: 11.91 kB / 2.946 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006494/7.881, allocations: 2.573 MB / 2.949 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/7.881, allocations: 0 / 2.949 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/7.882, allocations: 179.7 kB / 2.949 GB, free: 123 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008324/7.883, allocations: 84.72 kB / 2.949 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/7.883, allocations: 35.97 kB / 2.949 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/7.886, allocations: 1.536 MB / 2.95 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/7.886, allocations: 8 kB / 2.95 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003382/7.889, allocations: 1.184 MB / 2.952 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008161/7.89, allocations: 335.4 kB / 2.952 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002235/7.89, allocations: 28 kB / 2.952 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/7.892, allocations: 107.9 kB / 2.952 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/7.892, allocations: 117.1 kB / 2.952 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/7.892, allocations: 55.91 kB / 2.952 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009153/7.893, allocations: 0.4913 MB / 2.953 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/7.893, allocations: 0 / 2.953 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001842/7.895, allocations: 419.2 kB / 2.953 GB, free: 118.4 MB / 0.8698 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.005698/7.901, allocations: 2.676 MB / 2.956 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002955/7.904, allocations: 1.035 MB / 2.957 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/7.904, allocations: 0 / 2.957 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/7.905, allocations: 0.6317 MB / 2.957 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/7.907, allocations: 264.2 kB / 2.957 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/7.915, allocations: 1.985 MB / 2.959 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/7.916, allocations: 1.144 MB / 2.961 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001689/7.917, allocations: 304.6 kB / 2.961 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/7.918, allocations: 483.2 kB / 2.961 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.433e-06/7.918, allocations: 0 / 2.961 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/8.024, allocations: 36.23 MB / 2.997 GB, free: 73.91 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/8.025, allocations: 267.4 kB / 2.997 GB, free: 73.56 MB / 0.8698 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_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.o Buildings_7_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.c In file included from Buildings_7_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.c:7: In file included from ./Buildings_7_0_0_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 7.0.0/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.o Buildings_7_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.c In file included from Buildings_7_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.c:2: In file included from ./Buildings_7_0_0_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_7_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.c:7: In file included from ./Buildings_7_0_0_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 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_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.o' failed make: *** [Buildings_7_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_functions.o] Error 1