Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 99.83 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.001162/0.001163, allocations: 174.6 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.415/1.415, allocations: 223.2 MB / 240.6 MB, free: 5.43 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.464/2.464, allocations: 390.5 MB / 0.6662 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9063/0.9067, allocations: 142.3 MB / 0.9544 GB, free: 8.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07324/0.98, allocations: 69.42 MB / 1.022 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.9998, allocations: 11.96 MB / 1.034 GB, free: 14.62 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/1.003, allocations: 59.56 kB / 1.034 GB, free: 14.56 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/1.006, allocations: 0.5627 MB / 1.034 GB, free: 13.99 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.008181/1.015, allocations: 1.892 MB / 1.036 GB, free: 12.09 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/1.019, allocations: 0.9608 MB / 1.037 GB, free: 11.14 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008656/1.027, allocations: 4.789 MB / 1.042 GB, free: 6.34 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/1.03, allocations: 1.027 MB / 1.043 GB, free: 5.289 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/1.033, allocations: 1.26 MB / 1.044 GB, free: 4.023 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/1.036, allocations: 1.062 MB / 1.045 GB, free: 2.957 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002241/1.036, allocations: 56 kB / 1.045 GB, free: 2.902 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/1.039, allocations: 0.9238 MB / 1.046 GB, free: 1.977 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004329/1.04, allocations: 270.7 kB / 1.046 GB, free: 1.711 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007774/1.041, allocations: 352.9 kB / 1.047 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00306/1.044, allocations: 2.085 MB / 1.049 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.044, allocations: 0 / 1.049 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/1.044, allocations: 4 kB / 1.049 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.806e-05/1.044, allocations: 0 / 1.049 GB, free: 15.26 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003722/1.047, allocations: 1.799 MB / 1.051 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.047, allocations: 8.031 kB / 1.051 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007592/1.048, allocations: 241.9 kB / 1.051 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/1.051, allocations: 1.439 MB / 1.052 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.024e-05/1.051, allocations: 74 kB / 1.052 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/1.051, allocations: 108 kB / 1.052 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/1.053, allocations: 1.112 MB / 1.053 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/1.053, allocations: 7.938 kB / 1.053 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.831e-05/1.053, allocations: 36 kB / 1.053 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/1.053, allocations: 28 kB / 1.054 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/1.055, allocations: 0.9251 MB / 1.054 GB, free: 9.344 MB / 0.8106 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.006856/1.062, allocations: 4.907 MB / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/1.064, allocations: 0.6357 MB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007115/1.064, allocations: 370.3 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007504/1.065, allocations: 0.8277 MB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.065, allocations: 47.12 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 3.106e-06/1.065, allocations: 0 / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.006768/1.072, allocations: 1.873 MB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/1.072, allocations: 59.97 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/1.074, allocations: 1.202 MB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.73e-05/1.074, allocations: 37.7 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/1.075, allocations: 0.5987 MB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002436/1.075, allocations: 216.8 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/1.075, allocations: 16 kB / 1.065 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001503/1.075, allocations: 337.9 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006493/1.076, allocations: 297.8 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/1.077, allocations: 0.4998 MB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/1.077, allocations: 355 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/1.077, allocations: 0 / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0044/1.082, allocations: 1.398 MB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/1.082, allocations: 194.3 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/1.082, allocations: 4 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006071/1.083, allocations: 152.7 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/1.083, allocations: 167.8 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008438/1.084, allocations: 0.7006 MB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/1.085, allocations: 175 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/1.085, allocations: 28 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/1.085, allocations: 4 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00404/1.089, allocations: 1.253 MB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/1.089, allocations: 4 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004701/1.09, allocations: 141.2 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/1.091, allocations: 175.7 kB / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007959/1.091, allocations: 0.7122 MB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/1.093, allocations: 155.2 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/1.093, allocations: 32 kB / 1.072 GB, free: 7.062 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007727/1.093, allocations: 420.9 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/1.094, allocations: 138.4 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/1.098, allocations: 1.396 MB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/1.098, allocations: 8 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.098, allocations: 0 / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003738/1.102, allocations: 1.232 MB / 1.075 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00697/1.109, allocations: 2.739 MB / 1.077 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.109, allocations: 4 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/1.109, allocations: 119.9 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005234/1.11, allocations: 144.9 kB / 1.078 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/1.11, allocations: 16 kB / 1.078 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004651/1.115, allocations: 2.431 MB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.115, allocations: 7.953 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005188/1.12, allocations: 1.844 MB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008715/1.121, allocations: 327.1 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/1.121, allocations: 20 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008189/1.122, allocations: 99.81 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/1.122, allocations: 56.31 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/1.122, allocations: 27.98 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001312/1.123, allocations: 0.862 MB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.123, allocations: 0 / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002193/1.125, allocations: 0.7057 MB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008668/1.126, allocations: 432 kB / 1.084 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002608/1.129, allocations: 1.16 MB / 1.085 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.129, allocations: 4 kB / 1.085 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/1.13, allocations: 0.5995 MB / 1.086 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/1.134, allocations: 0.7555 MB / 1.087 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/1.139, allocations: 2.795 MB / 1.089 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/1.14, allocations: 1.172 MB / 1.091 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/1.14, allocations: 107.4 kB / 1.091 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of SimCode: time 8.52e-07/1.14, allocations: 0 / 1.091 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of Templates: time 0.04398/1.184, allocations: 30.66 MB / 1.121 GB, free: 4.465 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.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_yCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Chillers.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Chillers.Examples.Carnot_yCalcHelperMain.o] Error 1