Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 99.75 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 179.2 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.749/2.749, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003703, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.845/0.8454, allocations: 142.3 MB / 0.9544 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06027/0.9058, allocations: 55.77 MB / 1.009 GB, free: 8.215 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02096/0.9268, allocations: 12.32 MB / 1.021 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003342/0.9302, allocations: 59.62 kB / 1.021 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003213/0.9334, allocations: 0.7065 MB / 1.022 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007116/0.9406, allocations: 1.837 MB / 1.023 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.945, allocations: 1.148 MB / 1.025 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00797/0.953, allocations: 4.753 MB / 1.029 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002632/0.9557, allocations: 0.9735 MB / 1.03 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004029/0.9597, allocations: 1.299 MB / 1.031 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/0.9623, allocations: 1.085 MB / 1.032 GB, free: 15.97 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005253/0.9629, allocations: 60 kB / 1.033 GB, free: 15.91 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00359/0.9665, allocations: 0.9901 MB / 1.034 GB, free: 14.92 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0007863/0.9673, allocations: 310.6 kB / 1.034 GB, free: 14.61 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.9683, allocations: 356.8 kB / 1.034 GB, free: 14.26 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.9719, allocations: 1.939 MB / 1.036 GB, free: 12.32 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9719, allocations: 0 / 1.036 GB, free: 12.32 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.884e-06/0.9719, allocations: 0 / 1.036 GB, free: 12.32 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.466e-05/0.972, allocations: 0 / 1.036 GB, free: 12.32 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003866/0.9759, allocations: 1.905 MB / 1.038 GB, free: 10.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.9759, allocations: 8.031 kB / 1.038 GB, free: 10.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/0.9792, allocations: 0.6379 MB / 1.039 GB, free: 9.695 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.9816, allocations: 1.323 MB / 1.04 GB, free: 8.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.9818, allocations: 145.4 kB / 1.04 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.982, allocations: 103.9 kB / 1.04 GB, free: 8.066 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/0.9852, allocations: 1.334 MB / 1.041 GB, free: 6.695 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.9853, allocations: 3.938 kB / 1.041 GB, free: 6.691 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.9854, allocations: 36 kB / 1.041 GB, free: 6.656 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.9854, allocations: 24 kB / 1.041 GB, free: 6.633 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.9893, allocations: 1.37 MB / 1.043 GB, free: 5.266 MB / 0.795 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.008633/0.9979, allocations: 5.378 MB / 1.048 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/1.003, allocations: 1.479 MB / 1.049 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/1.005, allocations: 0.6232 MB / 1.05 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.006, allocations: 1.24 MB / 1.051 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001803/1.007, allocations: 0.6823 MB / 1.052 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 3.406e-06/1.007, allocations: 7.875 kB / 1.052 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.00526/1.013, allocations: 1.77 MB / 1.054 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/1.013, allocations: 63.97 kB / 1.054 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/1.015, allocations: 1.251 MB / 1.055 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/1.015, allocations: 45.7 kB / 1.055 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000715/1.016, allocations: 0.6618 MB / 1.056 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/1.017, allocations: 232.6 kB / 1.056 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/1.017, allocations: 16 kB / 1.056 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.017, allocations: 338 kB / 1.056 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/1.018, allocations: 0.5445 MB / 1.057 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/1.02, allocations: 0.7704 MB / 1.057 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/1.022, allocations: 0.598 MB / 1.058 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.022, allocations: 0 / 1.058 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004111/1.026, allocations: 1.446 MB / 1.059 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002073/1.026, allocations: 211.3 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.026, allocations: 4 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.399e-05/1.026, allocations: 8 kB / 1.06 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/1.027, allocations: 271.6 kB / 1.06 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/1.027, allocations: 11.98 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.029, allocations: 242.9 kB / 1.06 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/1.029, allocations: 39.98 kB / 1.06 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.029, allocations: 4 kB / 1.06 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003346/1.033, allocations: 1.301 MB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.033, allocations: 0 / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.033, allocations: 8 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.034, allocations: 268 kB / 1.062 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/1.034, allocations: 11.94 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/1.036, allocations: 235.2 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.036, allocations: 39.94 kB / 1.062 GB, free: 0.6055 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009573/1.037, allocations: 412.9 kB / 1.062 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000493/1.038, allocations: 142.2 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004036/1.042, allocations: 1.52 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/1.042, allocations: 11.98 kB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.042, allocations: 0 / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003005/1.045, allocations: 1.277 MB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007281/1.052, allocations: 3.249 MB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/1.052, allocations: 4 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.053, allocations: 236.2 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.902e-05/1.053, allocations: 8 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-05/1.053, allocations: 31.97 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.619e-05/1.053, allocations: 15.89 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.053, allocations: 4 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005488/1.059, allocations: 2.294 MB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009872/1.06, allocations: 374.8 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/1.06, allocations: 19.98 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/1.062, allocations: 183.7 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/1.062, allocations: 72.42 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/1.062, allocations: 39.97 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001779/1.064, allocations: 0.893 MB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.21e-07/1.064, allocations: 3.938 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003006/1.067, allocations: 0.7759 MB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/1.068, allocations: 499.3 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005361/1.074, allocations: 2.074 MB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.074, allocations: 0 / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/1.075, allocations: 0.6913 MB / 1.077 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/1.08, allocations: 0.7503 MB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/1.086, allocations: 3.214 MB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.087, allocations: 1.226 MB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/1.088, allocations: 131.4 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of SimCode: time 1.804e-06/1.088, allocations: 0 / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of Templates: time 0.04806/1.136, allocations: 26.41 MB / 1.107 GB, free: 1.848 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIRCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIRCalcHelperMain.o] Error 1