Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.78/1.78, allocations: 292.6 MB / 307.5 MB, free: 5.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 193 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.4 MB / 0.6366 GB, free: 9.59 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008878/0.0008877, allocations: 91.95 kB / 0.7509 GB, free: 62.4 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003648, allocations: 12 kB / 0.8749 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2948, allocations: 116.3 MB / 0.9884 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.797/7.092, allocations: 2.376 GB / 3.364 GB, free: 166.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/7.092, allocations: 100.2 kB / 3.365 GB, free: 166.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.384/11.48, allocations: 1.045 GB / 4.41 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.536e-06/11.48, allocations: 0 / 4.41 GB, free: 104.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005072/11.48, allocations: 73.94 kB / 4.41 GB, free: 104.3 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 477 * Number of variables: 477 Notification: Performance of Generate backend data structure: time 0.01307/11.49, allocations: 3.21 MB / 4.413 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/11.49, allocations: 10.81 kB / 4.413 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001495/11.49, allocations: 271.6 kB / 4.413 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007964/11.5, allocations: 1.018 MB / 4.414 GB, free: 102.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/11.51, allocations: 2.095 MB / 4.416 GB, free: 102 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006263/11.51, allocations: 218 kB / 4.416 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/11.51, allocations: 198.5 kB / 4.417 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01105/11.52, allocations: 2.389 MB / 4.419 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001295/11.52, allocations: 0 / 4.419 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000754/11.52, allocations: 84.14 kB / 4.419 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/11.52, allocations: 72.5 kB / 4.419 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0078/11.53, allocations: 2.726 MB / 4.422 GB, free: 101.7 MB / 0.9636 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02016/11.55, allocations: 8.678 MB / 4.43 GB, free: 98.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007697/11.56, allocations: 2.365 MB / 4.432 GB, free: 98.65 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008646/11.56, allocations: 0.8855 MB / 4.433 GB, free: 97.71 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003014/11.56, allocations: 1.264 MB / 4.435 GB, free: 97.63 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=159): time 8.536e-06/11.56, allocations: 3.562 kB / 4.435 GB, free: 97.63 MB / 0.9636 GB Notification: Performance of matching and sorting (n=159): time 0.009988/11.57, allocations: 3.236 MB / 4.438 GB, free: 97.34 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/11.57, allocations: 254.9 kB / 4.438 GB, free: 97.06 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0044/11.58, allocations: 1.648 MB / 4.44 GB, free: 96.85 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003134/11.58, allocations: 69.64 kB / 4.44 GB, free: 96.82 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/11.58, allocations: 1.042 MB / 4.441 GB, free: 96.49 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000525/11.58, allocations: 0.5245 MB / 4.441 GB, free: 96.15 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/11.58, allocations: 31.56 kB / 4.441 GB, free: 96.15 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001202/11.58, allocations: 359.7 kB / 4.442 GB, free: 95.84 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/11.58, allocations: 0.8566 MB / 4.442 GB, free: 95.84 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/11.59, allocations: 1.214 MB / 4.444 GB, free: 95.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/11.59, allocations: 0.9685 MB / 4.445 GB, free: 95.45 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/11.59, allocations: 0 / 4.445 GB, free: 95.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006047/11.59, allocations: 2.362 MB / 4.447 GB, free: 95.21 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003208/11.59, allocations: 1.06 MB / 4.448 GB, free: 94.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/11.59, allocations: 3.188 kB / 4.448 GB, free: 94.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006703/11.59, allocations: 94.75 kB / 4.448 GB, free: 94.08 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/11.6, allocations: 443.7 kB / 4.448 GB, free: 94.06 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/11.6, allocations: 2.135 MB / 4.45 GB, free: 92.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/11.6, allocations: 336.2 kB / 4.451 GB, free: 92.11 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/11.6, allocations: 81.25 kB / 4.451 GB, free: 92.11 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/11.6, allocations: 3.656 kB / 4.451 GB, free: 92.11 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005709/11.61, allocations: 2.144 MB / 4.453 GB, free: 92 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/11.61, allocations: 3.906 kB / 4.453 GB, free: 92 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/11.61, allocations: 90.89 kB / 4.453 GB, free: 91.99 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/11.61, allocations: 434 kB / 4.453 GB, free: 91.97 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/11.61, allocations: 1.552 MB / 4.455 GB, free: 90.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/11.62, allocations: 322.8 kB / 4.455 GB, free: 90.61 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/11.62, allocations: 80.94 kB / 4.455 GB, free: 90.61 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 1 * 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.002198/11.62, allocations: 0.5938 MB / 4.456 GB, free: 90.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/11.62, allocations: 230.3 kB / 4.456 GB, free: 90.29 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007163/11.63, allocations: 2.663 MB / 4.459 GB, free: 90.12 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/11.63, allocations: 18.03 kB / 4.459 GB, free: 90.12 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/11.63, allocations: 0 / 4.459 GB, free: 90.12 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005202/11.63, allocations: 2.415 MB / 4.461 GB, free: 89.62 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/11.65, allocations: 5.389 MB / 4.466 GB, free: 88.89 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/11.65, allocations: 7.594 kB / 4.466 GB, free: 88.89 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/11.65, allocations: 451.2 kB / 4.467 GB, free: 88.86 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005664/11.65, allocations: 89.19 kB / 4.467 GB, free: 88.85 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/11.65, allocations: 54.11 kB / 4.467 GB, free: 88.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/11.65, allocations: 2.171 MB / 4.469 GB, free: 86.96 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/11.65, allocations: 10 kB / 4.469 GB, free: 86.95 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009202/11.66, allocations: 4.165 MB / 4.473 GB, free: 86.09 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/11.66, allocations: 0.6926 MB / 4.474 GB, free: 85.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009285/11.66, allocations: 33.84 kB / 4.474 GB, free: 85.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003275/11.67, allocations: 270 kB / 4.474 GB, free: 85.73 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/11.67, allocations: 132.7 kB / 4.474 GB, free: 85.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/11.67, allocations: 84.89 kB / 4.474 GB, free: 85.71 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003747/11.67, allocations: 1.307 MB / 4.476 GB, free: 85.57 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.452e-06/11.67, allocations: 0 / 4.476 GB, free: 85.57 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007448/11.68, allocations: 1.499 MB / 4.477 GB, free: 85.36 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol1.dynBal.mXi[1],chi.vol2.dynBal.U) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 3 (pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * 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.01574/11.69, allocations: 7.981 MB / 4.485 GB, free: 82.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009272/11.7, allocations: 3.549 MB / 4.488 GB, free: 80.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/11.7, allocations: 4.125 kB / 4.488 GB, free: 80.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003182/11.71, allocations: 1.291 MB / 4.49 GB, free: 80.33 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007038/11.71, allocations: 1.093 MB / 4.491 GB, free: 80.06 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04526/11.76, allocations: 17.4 MB / 4.508 GB, free: 69.73 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/11.76, allocations: 1.711 MB / 4.509 GB, free: 68.93 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.005654/11.77, allocations: 0.7875 MB / 4.51 GB, free: 68.74 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002728/11.77, allocations: 1.018 MB / 4.511 GB, free: 67.98 MB / 0.9636 GB Notification: Performance of SimCode: time 1.673e-06/11.77, allocations: 0 / 4.511 GB, free: 67.98 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1819/11.95, allocations: 93.52 MB / 4.602 GB, free: 380 kB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/11.95, allocations: 254.6 kB / 4.603 GB, free: 36 kB / 0.9636 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.o Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.c In file included from Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.c:7: In file included from ./Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_functions.o Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_functions.c In file included from Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_functions.c:2: In file included from ./Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_functions.o] Error 1