Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIR,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.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,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.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 100.1 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.00145/0.00145, allocations: 175.9 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.391/1.391, allocations: 223.2 MB / 240.6 MB, free: 5.41 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.524/2.524, allocations: 390.5 MB / 0.6662 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003618, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8784/0.8788, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.05351/0.9324, allocations: 55.79 MB / 1.009 GB, free: 8.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01873/0.9512, allocations: 12.37 MB / 1.021 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003219/0.9544, allocations: 63.56 kB / 1.021 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002616/0.9571, allocations: 0.7026 MB / 1.022 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006565/0.9636, allocations: 1.834 MB / 1.023 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005292/0.9689, allocations: 1.157 MB / 1.025 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009761/0.9787, allocations: 4.749 MB / 1.029 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.9815, allocations: 0.9813 MB / 1.03 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/0.9857, allocations: 1.291 MB / 1.031 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002992/0.9887, allocations: 1.085 MB / 1.033 GB, free: 15.89 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003652/0.9891, allocations: 60 kB / 1.033 GB, free: 15.84 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004182/0.9933, allocations: 1.021 MB / 1.034 GB, free: 14.81 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006013/0.9939, allocations: 326.6 kB / 1.034 GB, free: 14.49 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009553/0.9949, allocations: 360.8 kB / 1.034 GB, free: 14.13 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00426/0.9991, allocations: 1.974 MB / 1.036 GB, free: 12.16 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.143e-05/0.9992, allocations: 0 / 1.036 GB, free: 12.16 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.897e-06/0.9992, allocations: 0 / 1.036 GB, free: 12.16 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.119e-05/0.9993, allocations: 0 / 1.036 GB, free: 12.16 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.005674/1.005, allocations: 1.917 MB / 1.038 GB, free: 10.17 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.005, allocations: 8.031 kB / 1.038 GB, free: 10.16 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004639/1.01, allocations: 0.6417 MB / 1.039 GB, free: 9.52 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003921/1.014, allocations: 1.359 MB / 1.04 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002469/1.014, allocations: 141.4 kB / 1.04 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/1.014, allocations: 100 kB / 1.04 GB, free: 7.863 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/1.018, allocations: 1.35 MB / 1.042 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/1.018, allocations: 3.938 kB / 1.042 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.018, allocations: 43.98 kB / 1.042 GB, free: 6.43 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-05/1.018, allocations: 24 kB / 1.042 GB, free: 6.406 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003338/1.021, allocations: 1.382 MB / 1.043 GB, free: 5.027 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.007944/1.029, allocations: 5.391 MB / 1.048 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/1.032, allocations: 1.091 MB / 1.049 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/1.033, allocations: 0.6271 MB / 1.05 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/1.035, allocations: 1.239 MB / 1.051 GB, free: 12 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001727/1.036, allocations: 0.694 MB / 1.052 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 3.977e-06/1.036, allocations: 0 / 1.052 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.004999/1.041, allocations: 1.797 MB / 1.054 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.683e-05/1.041, allocations: 63.95 kB / 1.054 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/1.043, allocations: 1.304 MB / 1.055 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/1.044, allocations: 49.7 kB / 1.055 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006123/1.044, allocations: 0.6706 MB / 1.056 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/1.044, allocations: 236.7 kB / 1.056 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/1.044, allocations: 16 kB / 1.056 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.045, allocations: 333.9 kB / 1.056 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.046, allocations: 0.5524 MB / 1.057 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/1.048, allocations: 0.7704 MB / 1.057 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/1.049, allocations: 0.598 MB / 1.058 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.049, allocations: 4 kB / 1.058 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003656/1.053, allocations: 1.465 MB / 1.059 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001655/1.053, allocations: 207.5 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.053, allocations: 7.984 kB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/1.053, allocations: 12 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.054, allocations: 263.7 kB / 1.06 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/1.054, allocations: 15.94 kB / 1.06 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.056, allocations: 238.9 kB / 1.06 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.642e-05/1.056, allocations: 39.97 kB / 1.06 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.056, allocations: 5.562 kB / 1.06 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00313/1.059, allocations: 1.321 MB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.059, allocations: 7.984 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/1.059, allocations: 4 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.06, allocations: 267.7 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/1.06, allocations: 8 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.062, allocations: 239.1 kB / 1.062 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/1.062, allocations: 43.92 kB / 1.062 GB, free: 0.5781 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.0008305/1.063, allocations: 416.9 kB / 1.062 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/1.063, allocations: 150.1 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/1.067, allocations: 1.532 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/1.067, allocations: 4 kB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.067, allocations: 7.938 kB / 1.064 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002936/1.07, allocations: 1.296 MB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007096/1.077, allocations: 3.274 MB / 1.069 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/1.077, allocations: 4.062 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.078, allocations: 239.7 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/1.078, allocations: 8 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.499e-05/1.078, allocations: 31.97 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/1.078, allocations: 7.953 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.078, allocations: 11.94 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00537/1.083, allocations: 2.325 MB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009955/1.085, allocations: 378.7 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/1.085, allocations: 19.98 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/1.086, allocations: 183.7 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.087, allocations: 76.36 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.087, allocations: 35.97 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00144/1.088, allocations: 0.9295 MB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/1.088, allocations: 4 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002423/1.091, allocations: 0.7838 MB / 1.073 GB, free: 4.578 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.001092/1.092, allocations: 0.5005 MB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005141/1.097, allocations: 2.097 MB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.097, allocations: 4 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001744/1.099, allocations: 0.6952 MB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/1.103, allocations: 0.7456 MB / 1.077 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/1.108, allocations: 3.285 MB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000866/1.109, allocations: 1.246 MB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/1.11, allocations: 131.4 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of SimCode: time 6.41e-07/1.11, allocations: 0 / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of Templates: time 0.04567/1.156, allocations: 26.78 MB / 1.108 GB, free: 1.176 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.ElectricReformulatedEIRCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIRCalcHelperMain.o] Error 1