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.674/1.674, allocations: 289.7 MB / 302.3 MB, free: 2.16 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.001136/0.001136, allocations: 183.9 kB / 371.6 MB, free: 3.418 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.697/1.697, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009477/0.0009476, allocations: 92.7 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.747e-05/3.751e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3064, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.667/6.973, allocations: 2.376 GB / 3.356 GB, free: 224.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/6.973, allocations: 88.48 kB / 3.356 GB, free: 224.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.227/11.2, allocations: 1.043 GB / 4.399 GB, free: 98.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.915e-06/11.2, allocations: 1.75 kB / 4.399 GB, free: 98.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000351/11.2, allocations: 72.64 kB / 4.399 GB, free: 98.29 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.009758/11.21, allocations: 2.776 MB / 4.402 GB, free: 97.17 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/11.21, allocations: 14.97 kB / 4.402 GB, free: 97.17 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000584/11.21, allocations: 270.2 kB / 4.402 GB, free: 97.12 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007403/11.22, allocations: 1.013 MB / 4.403 GB, free: 96.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007065/11.23, allocations: 2.068 MB / 4.405 GB, free: 96.47 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/11.23, allocations: 218.7 kB / 4.405 GB, free: 96.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004314/11.23, allocations: 193.1 kB / 4.406 GB, free: 96.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004738/11.23, allocations: 2.162 MB / 4.408 GB, free: 96.19 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.895e-05/11.23, allocations: 9.234 kB / 4.408 GB, free: 96.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/11.23, allocations: 78.44 kB / 4.408 GB, free: 96.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/11.23, allocations: 70.55 kB / 4.408 GB, free: 96.18 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004421/11.24, allocations: 2.278 MB / 4.41 GB, free: 96.16 MB / 0.9636 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.01716/11.25, allocations: 8.683 MB / 4.419 GB, free: 93.16 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00695/11.26, allocations: 2.062 MB / 4.421 GB, free: 93.11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001821/11.26, allocations: 0.852 MB / 4.421 GB, free: 93.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009649/11.26, allocations: 0.8845 MB / 4.422 GB, free: 92.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/11.26, allocations: 1.052 MB / 4.423 GB, free: 92.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=159): time 4.568e-06/11.26, allocations: 0 / 4.423 GB, free: 92.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=159): time 0.005196/11.27, allocations: 1.785 MB / 4.425 GB, free: 91.88 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/11.27, allocations: 306 kB / 4.425 GB, free: 91.53 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003879/11.27, allocations: 1.638 MB / 4.427 GB, free: 91.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005515/11.27, allocations: 60.95 kB / 4.427 GB, free: 91.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001464/11.28, allocations: 1.047 MB / 4.428 GB, free: 90.94 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009303/11.28, allocations: 0.5253 MB / 4.428 GB, free: 90.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/11.28, allocations: 29.5 kB / 4.429 GB, free: 90.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001856/11.28, allocations: 356.6 kB / 4.429 GB, free: 90.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/11.28, allocations: 0.6373 MB / 4.429 GB, free: 90.29 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/11.28, allocations: 0.9943 MB / 4.43 GB, free: 89.95 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/11.28, allocations: 0.7622 MB / 4.431 GB, free: 89.89 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/11.28, allocations: 0 / 4.431 GB, free: 89.89 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004021/11.29, allocations: 1.914 MB / 4.433 GB, free: 89.66 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002652/11.29, allocations: 1.055 MB / 4.434 GB, free: 88.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/11.29, allocations: 3.531 kB / 4.434 GB, free: 88.54 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/11.29, allocations: 94.59 kB / 4.434 GB, free: 88.53 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002162/11.29, allocations: 450.8 kB / 4.435 GB, free: 88.52 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/11.29, allocations: 2.121 MB / 4.437 GB, free: 86.65 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/11.29, allocations: 329.3 kB / 4.437 GB, free: 86.58 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/11.29, allocations: 81.38 kB / 4.437 GB, free: 86.58 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/11.29, allocations: 3.938 kB / 4.437 GB, free: 86.58 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003431/11.3, allocations: 1.701 MB / 4.439 GB, free: 86.49 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/11.3, allocations: 6.406 kB / 4.439 GB, free: 86.49 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005246/11.3, allocations: 83.25 kB / 4.439 GB, free: 86.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/11.3, allocations: 441.8 kB / 4.439 GB, free: 86.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/11.3, allocations: 1.531 MB / 4.441 GB, free: 85.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003471/11.31, allocations: 331.7 kB / 4.441 GB, free: 85.13 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/11.31, allocations: 72.83 kB / 4.441 GB, free: 85.13 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 () * 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.0005882/11.31, allocations: 201.9 kB / 4.441 GB, free: 85.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006809/11.31, allocations: 244.9 kB / 4.442 GB, free: 84.9 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004528/11.31, allocations: 2.193 MB / 4.444 GB, free: 84.75 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/11.31, allocations: 19.31 kB / 4.444 GB, free: 84.75 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/11.31, allocations: 0 / 4.444 GB, free: 84.75 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002845/11.31, allocations: 1.971 MB / 4.446 GB, free: 84.25 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/11.32, allocations: 5.096 MB / 4.451 GB, free: 83.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/11.32, allocations: 5.406 kB / 4.451 GB, free: 83.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/11.33, allocations: 452.3 kB / 4.451 GB, free: 83.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005076/11.33, allocations: 91.61 kB / 4.451 GB, free: 83.43 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/11.33, allocations: 50.98 kB / 4.451 GB, free: 83.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/11.33, allocations: 2.153 MB / 4.453 GB, free: 81.55 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/11.33, allocations: 11.42 kB / 4.453 GB, free: 81.55 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005587/11.34, allocations: 3.518 MB / 4.457 GB, free: 80.71 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/11.34, allocations: 0.7009 MB / 4.457 GB, free: 80.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004605/11.34, allocations: 36.66 kB / 4.457 GB, free: 80.38 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002293/11.34, allocations: 258.7 kB / 4.458 GB, free: 80.37 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/11.34, allocations: 142.5 kB / 4.458 GB, free: 80.36 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/11.34, allocations: 83.59 kB / 4.458 GB, free: 80.36 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002357/11.34, allocations: 1.285 MB / 4.459 GB, free: 80.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.5e-07/11.34, allocations: 2.812 kB / 4.459 GB, free: 80.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005663/11.35, allocations: 1.488 MB / 4.461 GB, free: 80 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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) * 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.01076/11.36, allocations: 7.377 MB / 4.468 GB, free: 77.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00545/11.36, allocations: 2.95 MB / 4.471 GB, free: 76.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/11.36, allocations: 3.625 kB / 4.471 GB, free: 76.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001874/11.37, allocations: 1.085 MB / 4.472 GB, free: 76.57 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006225/11.37, allocations: 1.094 MB / 4.473 GB, free: 76.54 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/11.38, allocations: 4.315 MB / 4.477 GB, free: 75.46 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/11.39, allocations: 1.72 MB / 4.479 GB, free: 74.72 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004538/11.39, allocations: 1.003 MB / 4.48 GB, free: 74.66 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/11.39, allocations: 0.9765 MB / 4.481 GB, free: 74.65 MB / 0.9636 GB Notification: Performance of SimCode: time 1.353e-06/11.39, allocations: 0 / 4.481 GB, free: 74.65 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1726/11.56, allocations: 101.2 MB / 4.58 GB, free: 52.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/11.56, allocations: 233.7 kB / 4.58 GB, free: 51.96 MB / 0.9636 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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_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