Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.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.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008313/0.0008313, allocations: 103 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.002147/0.002147, allocations: 169.9 kB / 16.58 MB, free: 6.035 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.576/1.576, allocations: 223.3 MB / 240.6 MB, free: 5.426 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.571/2.571, allocations: 390.5 MB / 0.6662 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.000392, allocations: 12 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9326/0.933, allocations: 142.3 MB / 0.9544 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07494/1.008, allocations: 69.44 MB / 1.022 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02272/1.031, allocations: 14.18 MB / 1.036 GB, free: 12.33 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/1.035, allocations: 55.62 kB / 1.036 GB, free: 12.28 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002777/1.038, allocations: 0.5666 MB / 1.037 GB, free: 11.71 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.008458/1.046, allocations: 1.993 MB / 1.039 GB, free: 9.707 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/1.05, allocations: 0.9631 MB / 1.04 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008356/1.058, allocations: 4.813 MB / 1.044 GB, free: 3.926 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00291/1.061, allocations: 1.031 MB / 1.045 GB, free: 2.875 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00427/1.066, allocations: 1.275 MB / 1.047 GB, free: 1.594 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002816/1.069, allocations: 1.085 MB / 1.048 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003312/1.069, allocations: 56 kB / 1.048 GB, free: 460 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003416/1.072, allocations: 0.9199 MB / 1.049 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003969/1.073, allocations: 270.7 kB / 1.049 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007952/1.074, allocations: 360.9 kB / 1.049 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003007/1.077, allocations: 2.081 MB / 1.051 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/1.077, allocations: 0 / 1.051 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.605e-06/1.077, allocations: 0 / 1.051 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.684e-05/1.077, allocations: 0 / 1.051 GB, free: 12.82 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.003638/1.08, allocations: 1.808 MB / 1.053 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.08, allocations: 8.031 kB / 1.053 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007572/1.081, allocations: 245.9 kB / 1.053 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/1.084, allocations: 1.451 MB / 1.055 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/1.084, allocations: 74 kB / 1.055 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/1.084, allocations: 107.9 kB / 1.055 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/1.086, allocations: 1.112 MB / 1.056 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/1.086, allocations: 11.94 kB / 1.056 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/1.086, allocations: 39.95 kB / 1.056 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.664e-05/1.086, allocations: 24 kB / 1.056 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/1.088, allocations: 0.929 MB / 1.057 GB, free: 6.863 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.007062/1.095, allocations: 4.904 MB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/1.097, allocations: 0.6447 MB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006826/1.097, allocations: 362.3 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007284/1.098, allocations: 0.8277 MB / 1.063 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/1.098, allocations: 51.06 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 3.507e-06/1.098, allocations: 0 / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.006679/1.105, allocations: 1.888 MB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/1.105, allocations: 59.95 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/1.107, allocations: 1.202 MB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/1.107, allocations: 41.64 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006165/1.108, allocations: 0.6026 MB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002895/1.108, allocations: 220.9 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/1.108, allocations: 16 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001752/1.108, allocations: 338 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006733/1.109, allocations: 293.8 kB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008152/1.11, allocations: 0.4968 MB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007268/1.11, allocations: 363 kB / 1.069 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/1.111, allocations: 4 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004386/1.115, allocations: 1.398 MB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002059/1.115, allocations: 198.3 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.115, allocations: 4 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/1.116, allocations: 144.7 kB / 1.071 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/1.116, allocations: 167.7 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008901/1.117, allocations: 0.7124 MB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/1.119, allocations: 167.1 kB / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/1.119, allocations: 35.98 kB / 1.072 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/1.119, allocations: 7.953 kB / 1.072 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003983/1.123, allocations: 1.245 MB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.123, allocations: 4 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/1.123, allocations: 153 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/1.124, allocations: 167.7 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008352/1.125, allocations: 0.7124 MB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/1.126, allocations: 167 kB / 1.074 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/1.126, allocations: 28 kB / 1.074 GB, free: 4.523 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0008435/1.127, allocations: 436.8 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/1.127, allocations: 134.4 kB / 1.075 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/1.132, allocations: 1.393 MB / 1.076 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/1.132, allocations: 8 kB / 1.076 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.132, allocations: 7.938 kB / 1.076 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003687/1.135, allocations: 1.228 MB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006516/1.142, allocations: 2.739 MB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/1.142, allocations: 4 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/1.142, allocations: 124.2 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/1.143, allocations: 136.7 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/1.143, allocations: 19.98 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004465/1.147, allocations: 2.474 MB / 1.082 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.147, allocations: 4 kB / 1.082 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/1.153, allocations: 1.859 MB / 1.084 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.154, allocations: 331 kB / 1.085 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004468/1.154, allocations: 16 kB / 1.085 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/1.156, allocations: 95.97 kB / 1.085 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.156, allocations: 56.27 kB / 1.085 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/1.156, allocations: 35.97 kB / 1.085 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001803/1.158, allocations: 0.8584 MB / 1.086 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.158, allocations: 0 / 1.086 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002903/1.161, allocations: 0.7095 MB / 1.086 GB, free: 7.465 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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 (55): * Single equations (assignments): 50 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/1.162, allocations: 430.1 kB / 1.087 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002732/1.164, allocations: 1.157 MB / 1.088 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.164, allocations: 4 kB / 1.088 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/1.166, allocations: 0.5917 MB / 1.088 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/1.17, allocations: 0.7638 MB / 1.089 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/1.175, allocations: 2.81 MB / 1.092 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008264/1.175, allocations: 1.168 MB / 1.093 GB, free: 456 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003878/1.176, allocations: 111.4 kB / 1.093 GB, free: 344 kB / 0.8419 GB Notification: Performance of SimCode: time 1.984e-06/1.176, allocations: 0 / 1.093 GB, free: 344 kB / 0.8419 GB Notification: Performance of Templates: time 0.04662/1.223, allocations: 30.74 MB / 1.123 GB, free: 1.77 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.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.HeatPumps.Examples.Carnot_yCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o] Error 1