Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 102.7 kB / 15.71 MB, free: 460 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.001844/0.001844, allocations: 174.5 kB / 16.58 MB, free: 6.039 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.523/1.523, allocations: 223.2 MB / 240.6 MB, free: 5.438 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.602/2.602, allocations: 390.4 MB / 0.6662 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003716, allocations: 12 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9038/0.9042, allocations: 142.3 MB / 0.9544 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05884/0.9631, allocations: 56.51 MB / 1.01 GB, free: 7.578 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01703/0.9802, allocations: 11.22 MB / 1.021 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002626/0.9828, allocations: 51.62 kB / 1.021 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.9846, allocations: 460.9 kB / 1.021 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005197/0.9898, allocations: 1.53 MB / 1.023 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.9926, allocations: 0.8658 MB / 1.023 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005093/0.9977, allocations: 3.386 MB / 1.027 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.9993, allocations: 0.7918 MB / 1.027 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002582/1.002, allocations: 1.038 MB / 1.028 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/1.003, allocations: 0.801 MB / 1.029 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/1.003, allocations: 44 kB / 1.029 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/1.006, allocations: 1.095 MB / 1.03 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/1.006, allocations: 199 kB / 1.031 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004212/1.007, allocations: 289 kB / 1.031 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002039/1.009, allocations: 1.629 MB / 1.032 GB, free: 120 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.009, allocations: 0 / 1.032 GB, free: 120 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.633e-06/1.009, allocations: 0 / 1.032 GB, free: 120 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.606e-05/1.009, allocations: 0 / 1.032 GB, free: 120 kB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002745/1.012, allocations: 1.505 MB / 1.034 GB, free: 14.55 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/1.012, allocations: 8.031 kB / 1.034 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/1.014, allocations: 469.9 kB / 1.034 GB, free: 14.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/1.016, allocations: 1.09 MB / 1.035 GB, free: 12.94 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/1.016, allocations: 129.9 kB / 1.036 GB, free: 12.81 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/1.016, allocations: 80 kB / 1.036 GB, free: 12.73 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/1.018, allocations: 0.9973 MB / 1.037 GB, free: 11.69 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/1.018, allocations: 11.92 kB / 1.037 GB, free: 11.68 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/1.018, allocations: 32 kB / 1.037 GB, free: 11.65 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/1.018, allocations: 20 kB / 1.037 GB, free: 11.63 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/1.02, allocations: 0.9016 MB / 1.038 GB, free: 10.73 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.006153/1.026, allocations: 4.874 MB / 1.042 GB, free: 5.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/1.029, allocations: 0.8998 MB / 1.043 GB, free: 4.594 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006738/1.03, allocations: 322.1 kB / 1.043 GB, free: 4.277 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006821/1.031, allocations: 0.9064 MB / 1.044 GB, free: 3.168 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/1.031, allocations: 38.56 kB / 1.044 GB, free: 3.121 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.625e-06/1.031, allocations: 0 / 1.044 GB, free: 3.121 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.006355/1.037, allocations: 1.946 MB / 1.046 GB, free: 1.145 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/1.037, allocations: 55.41 kB / 1.046 GB, free: 1.078 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/1.039, allocations: 1.051 MB / 1.047 GB, free: 12 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/1.039, allocations: 33.7 kB / 1.047 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/1.039, allocations: 0.5196 MB / 1.048 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/1.039, allocations: 149.8 kB / 1.048 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/1.039, allocations: 8 kB / 1.048 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.04, allocations: 334 kB / 1.048 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000781/1.04, allocations: 320.8 kB / 1.049 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000935/1.041, allocations: 0.5312 MB / 1.049 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008329/1.042, allocations: 353.3 kB / 1.05 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/1.042, allocations: 0 / 1.05 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003233/1.045, allocations: 1.224 MB / 1.051 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/1.046, allocations: 217 kB / 1.051 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.046, allocations: 4 kB / 1.051 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/1.047, allocations: 335.3 kB / 1.051 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/1.047, allocations: 131.8 kB / 1.051 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/1.049, allocations: 0.9386 MB / 1.052 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/1.05, allocations: 187.3 kB / 1.052 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.914e-05/1.05, allocations: 31.98 kB / 1.053 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/1.05, allocations: 4 kB / 1.053 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002956/1.053, allocations: 1.074 MB / 1.054 GB, free: 9.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/1.053, allocations: 4 kB / 1.054 GB, free: 9.461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000992/1.054, allocations: 325.1 kB / 1.054 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/1.055, allocations: 127.8 kB / 1.054 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/1.056, allocations: 0.9365 MB / 1.055 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/1.057, allocations: 163.5 kB / 1.055 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-05/1.057, allocations: 39.94 kB / 1.055 GB, free: 7.855 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006917/1.058, allocations: 344.9 kB / 1.055 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/1.058, allocations: 110.6 kB / 1.056 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/1.06, allocations: 0.9807 MB / 1.057 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/1.06, allocations: 8 kB / 1.057 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/1.06, allocations: 3.953 kB / 1.057 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/1.06, allocations: 3.984 kB / 1.057 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/1.065, allocations: 2.257 MB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.065, allocations: 0 / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/1.066, allocations: 84.11 kB / 1.059 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009714/1.067, allocations: 322.7 kB / 1.059 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/1.067, allocations: 15.98 kB / 1.059 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/1.068, allocations: 0.9737 MB / 1.06 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.068, allocations: 0 / 1.06 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/1.071, allocations: 1.253 MB / 1.061 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/1.072, allocations: 287.4 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/1.072, allocations: 8 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009892/1.073, allocations: 111.9 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.073, allocations: 31.95 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/1.073, allocations: 23.98 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001654/1.075, allocations: 0.7352 MB / 1.062 GB, free: 120 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/1.075, allocations: 0 / 1.062 GB, free: 120 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002325/1.078, allocations: 0.5614 MB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/1.079, allocations: 365.9 kB / 1.063 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003329/1.082, allocations: 1.167 MB / 1.064 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.082, allocations: 0 / 1.064 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008987/1.083, allocations: 364.4 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/1.085, allocations: 0.4996 MB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005735/1.091, allocations: 2.533 MB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009121/1.092, allocations: 1.058 MB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/1.092, allocations: 79.41 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of SimCode: time 1.252e-06/1.092, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of Templates: time 0.03523/1.128, allocations: 23.63 MB / 1.092 GB, free: 1.934 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Carnot_TEvaCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEvaCalcHelperMain.o] Error 1