Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001057/0.001057, allocations: 102.6 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.001525/0.001525, allocations: 173.9 kB / 16.58 MB, free: 6.398 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.561/1.561, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 436.7 MB / 0.7113 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 8 kB / 0.8717 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8737/0.8741, allocations: 153.7 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07133/0.9454, allocations: 69.43 MB / 1.09 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01814/0.9637, allocations: 11.96 MB / 1.101 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002896/0.9666, allocations: 59.62 kB / 1.101 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.969, allocations: 0.5628 MB / 1.102 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007037/0.976, allocations: 1.892 MB / 1.104 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/0.9796, allocations: 0.9703 MB / 1.105 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007441/0.987, allocations: 4.793 MB / 1.109 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.9895, allocations: 1.015 MB / 1.11 GB, free: 6.188 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/0.9935, allocations: 1.271 MB / 1.112 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00296/0.9965, allocations: 1.058 MB / 1.113 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003386/0.9968, allocations: 56 kB / 1.113 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/1, allocations: 0.9277 MB / 1.114 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004357/1.001, allocations: 266.7 kB / 1.114 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009173/1.002, allocations: 356.9 kB / 1.114 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003224/1.005, allocations: 2.081 MB / 1.116 GB, free: 164 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.005, allocations: 0 / 1.116 GB, free: 164 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/1.005, allocations: 0 / 1.116 GB, free: 164 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.704e-05/1.005, allocations: 3.938 kB / 1.116 GB, free: 160 kB / 0.8575 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.003617/1.009, allocations: 1.805 MB / 1.118 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.009, allocations: 12.03 kB / 1.118 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/1.009, allocations: 241.9 kB / 1.118 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/1.012, allocations: 1.439 MB / 1.12 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/1.012, allocations: 74 kB / 1.12 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/1.012, allocations: 100 kB / 1.12 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/1.014, allocations: 1.12 MB / 1.121 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/1.014, allocations: 0 / 1.121 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.93e-05/1.014, allocations: 40 kB / 1.121 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/1.015, allocations: 28 kB / 1.121 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/1.016, allocations: 0.9212 MB / 1.122 GB, free: 10.23 MB / 0.8731 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.007162/1.024, allocations: 4.904 MB / 1.127 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/1.025, allocations: 0.6353 MB / 1.127 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007027/1.026, allocations: 378.3 kB / 1.128 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007283/1.026, allocations: 0.8199 MB / 1.128 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.16e-05/1.026, allocations: 43.12 kB / 1.128 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 4.799e-06/1.026, allocations: 3.984 kB / 1.128 GB, free: 2.973 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.006871/1.033, allocations: 1.873 MB / 1.13 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/1.033, allocations: 59.97 kB / 1.13 GB, free: 1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/1.035, allocations: 1.198 MB / 1.131 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.000144/1.036, allocations: 45.64 kB / 1.131 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/1.036, allocations: 0.5987 MB / 1.132 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000238/1.036, allocations: 220.9 kB / 1.132 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/1.036, allocations: 12 kB / 1.132 GB, free: 14.9 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.036, allocations: 334 kB / 1.133 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/1.037, allocations: 293.8 kB / 1.133 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007851/1.038, allocations: 0.496 MB / 1.133 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/1.039, allocations: 363 kB / 1.134 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/1.039, allocations: 0 / 1.134 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004318/1.043, allocations: 1.39 MB / 1.135 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/1.043, allocations: 202.2 kB / 1.135 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.043, allocations: 4 kB / 1.135 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005698/1.044, allocations: 152.7 kB / 1.135 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/1.044, allocations: 163.8 kB / 1.136 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008297/1.045, allocations: 0.7045 MB / 1.136 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.046, allocations: 167.1 kB / 1.136 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/1.046, allocations: 32 kB / 1.136 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.046, allocations: 7.953 kB / 1.136 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003847/1.05, allocations: 1.245 MB / 1.138 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/1.05, allocations: 7.953 kB / 1.138 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004578/1.051, allocations: 141.1 kB / 1.138 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/1.051, allocations: 163.8 kB / 1.138 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007505/1.052, allocations: 0.7161 MB / 1.139 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/1.053, allocations: 159.2 kB / 1.139 GB, free: 8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/1.053, allocations: 32 kB / 1.139 GB, free: 7.969 MB / 0.8887 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.0007123/1.054, allocations: 420.9 kB / 1.139 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/1.054, allocations: 130.4 kB / 1.139 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/1.059, allocations: 1.404 MB / 1.141 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/1.059, allocations: 8 kB / 1.141 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.059, allocations: 0 / 1.141 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003738/1.062, allocations: 1.224 MB / 1.142 GB, free: 4.727 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006418/1.069, allocations: 2.739 MB / 1.145 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/1.069, allocations: 4 kB / 1.145 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/1.069, allocations: 128.2 kB / 1.145 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004605/1.07, allocations: 132.7 kB / 1.145 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.575e-05/1.07, allocations: 20 kB / 1.145 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004395/1.074, allocations: 2.431 MB / 1.147 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.074, allocations: 8 kB / 1.147 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005079/1.079, allocations: 1.848 MB / 1.149 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008168/1.08, allocations: 331.1 kB / 1.149 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/1.08, allocations: 16 kB / 1.149 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/1.081, allocations: 104 kB / 1.15 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.081, allocations: 64.25 kB / 1.15 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.245e-05/1.081, allocations: 31.98 kB / 1.15 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001282/1.083, allocations: 0.8543 MB / 1.15 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.083, allocations: 0 / 1.15 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001962/1.085, allocations: 0.7096 MB / 1.151 GB, free: 10.96 MB / 0.9044 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.0008433/1.086, allocations: 440.8 kB / 1.152 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002647/1.088, allocations: 1.156 MB / 1.153 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.088, allocations: 0 / 1.153 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/1.09, allocations: 0.5994 MB / 1.153 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/1.093, allocations: 0.7596 MB / 1.154 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/1.097, allocations: 2.791 MB / 1.157 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007792/1.098, allocations: 1.165 MB / 1.158 GB, free: 3.949 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/1.099, allocations: 107.4 kB / 1.158 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of SimCode: time 8.52e-07/1.099, allocations: 0 / 1.158 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of Templates: time 0.04219/1.141, allocations: 30.66 MB / 1.188 GB, free: 5.352 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Chillers.Examples.Carnot_yCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_yCalcHelperMain.o] Error 1