Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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_TCon,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.TSet|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_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,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.TSet|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_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 102.6 kB / 15.71 MB, free: 448 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.001408/0.001408, allocations: 176.9 kB / 16.58 MB, free: 6.879 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.577/1.577, allocations: 223.2 MB / 240.6 MB, free: 5.281 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.644/2.644, allocations: 390.5 MB / 0.6662 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 12.22 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9139/0.9143, allocations: 142.3 MB / 0.9544 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06479/0.9792, allocations: 56.52 MB / 1.01 GB, free: 7.488 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01828/0.9975, allocations: 11.22 MB / 1.021 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00275/1, allocations: 51.69 kB / 1.021 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001915/1.002, allocations: 464.8 kB / 1.021 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005605/1.008, allocations: 1.523 MB / 1.023 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003089/1.011, allocations: 0.8561 MB / 1.023 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005134/1.016, allocations: 3.383 MB / 1.027 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001548/1.018, allocations: 0.8016 MB / 1.027 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/1.02, allocations: 1.038 MB / 1.028 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/1.022, allocations: 0.8011 MB / 1.029 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/1.022, allocations: 44 kB / 1.029 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/1.025, allocations: 1.095 MB / 1.03 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002501/1.025, allocations: 195 kB / 1.031 GB, free: 1.949 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004475/1.025, allocations: 281.1 kB / 1.031 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0023/1.028, allocations: 1.635 MB / 1.032 GB, free: 32 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.028, allocations: 0 / 1.032 GB, free: 32 kB / 0.7794 GB Notification: Performance of FrontEnd: time 2.935e-06/1.028, allocations: 0 / 1.032 GB, free: 32 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.601e-05/1.028, allocations: 0 / 1.032 GB, free: 32 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.003011/1.031, allocations: 1.501 MB / 1.034 GB, free: 14.47 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/1.031, allocations: 8.031 kB / 1.034 GB, free: 14.46 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/1.033, allocations: 473.9 kB / 1.034 GB, free: 14 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/1.035, allocations: 1.09 MB / 1.035 GB, free: 12.85 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/1.036, allocations: 133.9 kB / 1.036 GB, free: 12.72 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/1.036, allocations: 83.94 kB / 1.036 GB, free: 12.64 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/1.038, allocations: 1.005 MB / 1.037 GB, free: 11.59 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.038, allocations: 0 / 1.037 GB, free: 11.59 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.92e-05/1.038, allocations: 32 kB / 1.037 GB, free: 11.56 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/1.038, allocations: 20 kB / 1.037 GB, free: 11.54 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/1.04, allocations: 0.9172 MB / 1.038 GB, free: 10.62 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.006869/1.047, allocations: 4.875 MB / 1.042 GB, free: 5.395 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/1.05, allocations: 0.892 MB / 1.043 GB, free: 4.496 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000722/1.051, allocations: 327.5 kB / 1.043 GB, free: 4.176 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007932/1.052, allocations: 0.8986 MB / 1.044 GB, free: 3.074 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/1.052, allocations: 38.56 kB / 1.044 GB, free: 3.027 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/1.052, allocations: 0 / 1.044 GB, free: 3.027 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.008063/1.06, allocations: 2.153 MB / 1.046 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/1.06, allocations: 59.34 kB / 1.047 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/1.062, allocations: 1.051 MB / 1.048 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/1.062, allocations: 33.7 kB / 1.048 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000589/1.063, allocations: 0.5234 MB / 1.048 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/1.063, allocations: 153.8 kB / 1.048 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/1.063, allocations: 8 kB / 1.048 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.063, allocations: 326 kB / 1.049 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008521/1.064, allocations: 316.9 kB / 1.049 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009888/1.065, allocations: 0.5298 MB / 1.049 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008793/1.066, allocations: 357.3 kB / 1.05 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.066, allocations: 4 kB / 1.05 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003545/1.069, allocations: 1.216 MB / 1.051 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002012/1.069, allocations: 224.8 kB / 1.051 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.07, allocations: 4 kB / 1.051 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/1.071, allocations: 328.6 kB / 1.051 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/1.071, allocations: 127.8 kB / 1.052 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/1.073, allocations: 0.9366 MB / 1.053 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/1.074, allocations: 195.2 kB / 1.053 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.853e-05/1.074, allocations: 27.98 kB / 1.053 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.074, allocations: 4.938 kB / 1.053 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003241/1.078, allocations: 1.078 MB / 1.054 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/1.078, allocations: 7.953 kB / 1.054 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/1.079, allocations: 329 kB / 1.054 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/1.079, allocations: 123.8 kB / 1.054 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/1.081, allocations: 0.9371 MB / 1.055 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/1.082, allocations: 167.4 kB / 1.055 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/1.082, allocations: 27.98 kB / 1.055 GB, free: 7.551 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.0007279/1.083, allocations: 360.9 kB / 1.056 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/1.083, allocations: 106.7 kB / 1.056 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/1.087, allocations: 1.203 MB / 1.057 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/1.087, allocations: 8 kB / 1.057 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.087, allocations: 0 / 1.057 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/1.087, allocations: 3.984 kB / 1.057 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00529/1.092, allocations: 2.269 MB / 1.059 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.092, allocations: 288 / 1.059 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/1.093, allocations: 75.89 kB / 1.059 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/1.094, allocations: 330.1 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/1.094, allocations: 19.98 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/1.095, allocations: 0.9629 MB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.095, allocations: 8.016 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/1.099, allocations: 1.249 MB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008645/1.1, allocations: 283.4 kB / 1.062 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003226/1.1, allocations: 15.95 kB / 1.062 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.101, allocations: 111.8 kB / 1.062 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.101, allocations: 39.95 kB / 1.062 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/1.101, allocations: 19.98 kB / 1.062 GB, free: 316 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00167/1.103, allocations: 0.7389 MB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.81e-07/1.103, allocations: 3.938 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002226/1.105, allocations: 0.5535 MB / 1.063 GB, free: 15 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.0011/1.106, allocations: 366.7 kB / 1.064 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003284/1.11, allocations: 1.159 MB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.11, allocations: 0 / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009339/1.111, allocations: 368.4 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/1.113, allocations: 0.5063 MB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006432/1.12, allocations: 2.516 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009117/1.121, allocations: 1.058 MB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/1.121, allocations: 83.36 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of SimCode: time 1.513e-06/1.121, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of Templates: time 0.04239/1.163, allocations: 23.65 MB / 1.092 GB, free: 1.371 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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_TConCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o] Error 1