Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001017/0.001017, 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.001022/0.001022, allocations: 175.2 kB / 16.58 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 222.8 MB, free: 5.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.926/1.926, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000628/0.000628, allocations: 19.97 kB / 0.6743 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3187, allocations: 116.3 MB / 0.7879 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06055/0.3794, allocations: 56.52 MB / 0.8431 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01835/0.3978, allocations: 11.13 MB / 0.854 GB, free: 8.141 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/0.4009, allocations: 47.69 kB / 0.854 GB, free: 8.094 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.4031, allocations: 460.8 kB / 0.8545 GB, free: 7.641 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006594/0.4097, allocations: 1.523 MB / 0.856 GB, free: 6.109 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004203/0.4139, allocations: 0.8739 MB / 0.8568 GB, free: 5.246 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006945/0.4209, allocations: 3.39 MB / 0.8601 GB, free: 1.844 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.423, allocations: 0.7896 MB / 0.8609 GB, free: 1.027 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/0.4266, allocations: 1.046 MB / 0.8619 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/0.4283, allocations: 0.8127 MB / 0.8627 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.4284, allocations: 40 kB / 0.8627 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003417/0.4319, allocations: 1.095 MB / 0.8638 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.4322, allocations: 199 kB / 0.864 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005856/0.4328, allocations: 285 kB / 0.8643 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.4354, allocations: 1.641 MB / 0.8659 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.4354, allocations: 0 / 0.8659 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.504e-06/0.4354, allocations: 3.938 kB / 0.8659 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.4354, allocations: 0 / 0.8659 GB, free: 11.89 MB / 0.6856 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.003179/0.4386, allocations: 1.508 MB / 0.8674 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.4387, allocations: 12.03 kB / 0.8674 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.4407, allocations: 473.9 kB / 0.8678 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.4429, allocations: 1.097 MB / 0.8689 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/0.4432, allocations: 129.9 kB / 0.869 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.4433, allocations: 84 kB / 0.8691 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.4454, allocations: 0.9995 MB / 0.8701 GB, free: 7.449 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.4454, allocations: 3.938 kB / 0.8701 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/0.4455, allocations: 32 kB / 0.8701 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.4455, allocations: 20 kB / 0.8701 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.4478, allocations: 0.9251 MB / 0.871 GB, free: 6.473 MB / 0.6856 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.00652/0.4543, allocations: 4.614 MB / 0.8755 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003177/0.4575, allocations: 0.9381 MB / 0.8764 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00073/0.4583, allocations: 334 kB / 0.8768 GB, free: 280 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007867/0.4591, allocations: 0.9029 MB / 0.8776 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/0.4591, allocations: 47 kB / 0.8777 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 5.591e-06/0.4591, allocations: 3.984 kB / 0.8777 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.007505/0.4666, allocations: 2.01 MB / 0.8797 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.4667, allocations: 55.84 kB / 0.8797 GB, free: 13 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/0.4686, allocations: 1.048 MB / 0.8807 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.735e-05/0.4688, allocations: 37.7 kB / 0.8808 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004856/0.4692, allocations: 0.5235 MB / 0.8813 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.4694, allocations: 165.6 kB / 0.8814 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.4695, allocations: 8 kB / 0.8814 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4697, allocations: 337.8 kB / 0.8818 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008316/0.4705, allocations: 332.9 kB / 0.8821 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009933/0.4715, allocations: 0.5328 MB / 0.8826 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008679/0.4724, allocations: 372.6 kB / 0.883 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.4724, allocations: 4 kB / 0.883 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003441/0.4758, allocations: 1.229 MB / 0.8842 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.476, allocations: 200.1 kB / 0.8844 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4761, allocations: 4 kB / 0.8844 GB, free: 8.059 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.4773, allocations: 335.9 kB / 0.8847 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/0.4779, allocations: 135.8 kB / 0.8848 GB, free: 7.598 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.4795, allocations: 0.931 MB / 0.8857 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.481, allocations: 207.1 kB / 0.8859 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/0.4811, allocations: 27.98 kB / 0.8859 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.4811, allocations: 4 kB / 0.8859 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0032/0.4843, allocations: 1.092 MB / 0.887 GB, free: 5.309 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4844, allocations: 4 kB / 0.887 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.4855, allocations: 316.6 kB / 0.8873 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/0.4861, allocations: 139.8 kB / 0.8875 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.4876, allocations: 0.9337 MB / 0.8884 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.489, allocations: 167.5 kB / 0.8885 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.133e-05/0.4891, allocations: 27.98 kB / 0.8886 GB, free: 3.707 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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.0007477/0.4899, allocations: 356.9 kB / 0.8889 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/0.4902, allocations: 114.5 kB / 0.889 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.494, allocations: 1.252 MB / 0.8902 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.4941, allocations: 4 kB / 0.8902 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4941, allocations: 0 / 0.8902 GB, free: 1.969 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.4941, allocations: 3.984 kB / 0.8902 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005665/0.4998, allocations: 2.309 MB / 0.8925 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.4998, allocations: 3.953 kB / 0.8925 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.5001, allocations: 80.16 kB / 0.8926 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.5012, allocations: 324.5 kB / 0.8929 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/0.5013, allocations: 19.98 kB / 0.8929 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.5027, allocations: 0.966 MB / 0.8938 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5028, allocations: 3.938 kB / 0.8938 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/0.5072, allocations: 1.461 MB / 0.8953 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008164/0.5081, allocations: 283.4 kB / 0.8955 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/0.5084, allocations: 8 kB / 0.8955 GB, free: 12.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.5095, allocations: 115.8 kB / 0.8957 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.5097, allocations: 47.89 kB / 0.8957 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/0.5097, allocations: 23.98 kB / 0.8957 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00161/0.5114, allocations: 0.7313 MB / 0.8964 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5114, allocations: 3.938 kB / 0.8964 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002377/0.5138, allocations: 0.5614 MB / 0.897 GB, free: 10.85 MB / 0.7169 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 (37): * Single equations (assignments): 32 * 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.001091/0.5149, allocations: 375 kB / 0.8974 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003501/0.5184, allocations: 1.206 MB / 0.8985 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.5184, allocations: 4.062 kB / 0.8985 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009399/0.5193, allocations: 391.1 kB / 0.8989 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/0.5228, allocations: 0.5179 MB / 0.8994 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006563/0.5294, allocations: 2.537 MB / 0.9019 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008472/0.5303, allocations: 1.058 MB / 0.9029 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.5307, allocations: 87.41 kB / 0.903 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of SimCode: time 1.423e-06/0.5307, allocations: 0 / 0.903 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of Templates: time 0.568/1.099, allocations: 24 MB / 0.9264 GB, free: 133.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile make -j1 -f Buildings_8_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o] Error 1