Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008442/0.0008444, allocations: 99.59 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.000898/0.0008982, allocations: 176.8 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.509/1.509, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9587/0.9587, allocations: 135.3 MB / 427 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004215, allocations: 8 kB / 0.5076 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 82.31 MB / 0.588 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.5208/0.7318, allocations: 69.41 MB / 0.6558 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01852/0.7504, allocations: 14.17 MB / 0.6696 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/0.7536, allocations: 57.28 kB / 0.6696 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.7561, allocations: 0.5661 MB / 0.6702 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007996/0.7642, allocations: 1.983 MB / 0.6721 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004397/0.7686, allocations: 0.9753 MB / 0.6731 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009964/0.7786, allocations: 4.804 MB / 0.6778 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003332/0.7819, allocations: 1.029 MB / 0.6788 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004497/0.7865, allocations: 1.273 MB / 0.68 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.7899, allocations: 1.084 MB / 0.6811 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003904/0.7903, allocations: 56.72 kB / 0.6811 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004032/0.7943, allocations: 0.9247 MB / 0.682 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005165/0.7949, allocations: 271.8 kB / 0.6823 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.796, allocations: 360.2 kB / 0.6826 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.8004, allocations: 2.085 MB / 0.6847 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.8005, allocations: 1.875 kB / 0.6847 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8005, allocations: 0 / 0.6847 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.862e-05/0.8005, allocations: 0 / 0.6847 GB, free: 10.43 MB / 0.5137 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.006195/0.8067, allocations: 1.807 MB / 0.6865 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/0.8068, allocations: 9.625 kB / 0.6865 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.8086, allocations: 241.3 kB / 0.6867 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005399/0.814, allocations: 1.444 MB / 0.6881 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.8142, allocations: 80.56 kB / 0.6882 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.8144, allocations: 105.4 kB / 0.6883 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.8181, allocations: 1.109 MB / 0.6894 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.8181, allocations: 5.234 kB / 0.6894 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.8183, allocations: 45.03 kB / 0.6894 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.173e-05/0.8184, allocations: 25.66 kB / 0.6894 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00339/0.8218, allocations: 0.9244 MB / 0.6903 GB, free: 7.379 MB / 0.5137 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.01245/0.8342, allocations: 4.914 MB / 0.6951 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.8363, allocations: 0.6375 MB / 0.6958 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008448/0.8372, allocations: 371.5 kB / 0.6961 GB, free: 3.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008384/0.8381, allocations: 0.8213 MB / 0.6969 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.8381, allocations: 42.81 kB / 0.697 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.015e-06/0.8381, allocations: 4 kB / 0.697 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.009939/0.8481, allocations: 1.893 MB / 0.6988 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.8482, allocations: 58.44 kB / 0.6989 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00324/0.8515, allocations: 1.199 MB / 0.7 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003242/0.8518, allocations: 44.58 kB / 0.7001 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008694/0.8527, allocations: 0.6059 MB / 0.7007 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004222/0.8531, allocations: 210.8 kB / 0.7009 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.8532, allocations: 14.09 kB / 0.7009 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002193/0.8534, allocations: 337.1 kB / 0.7012 GB, free: 500 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.8545, allocations: 298.2 kB / 0.7015 GB, free: 408 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.8559, allocations: 0.5014 MB / 0.702 GB, free: 60 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.8571, allocations: 359.3 kB / 0.7023 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.8572, allocations: 5.219 kB / 0.7023 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007207/0.8644, allocations: 1.399 MB / 0.7037 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002556/0.8647, allocations: 196.7 kB / 0.7039 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.8648, allocations: 4.625 kB / 0.7039 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009446/0.8657, allocations: 145.7 kB / 0.704 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.8668, allocations: 165.2 kB / 0.7042 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.8682, allocations: 0.7233 MB / 0.7049 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.8709, allocations: 171.2 kB / 0.705 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.8711, allocations: 31.45 kB / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.8712, allocations: 4.406 kB / 0.7051 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00545/0.8766, allocations: 1.251 MB / 0.7063 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.8767, allocations: 4.188 kB / 0.7063 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/0.8773, allocations: 142.7 kB / 0.7064 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.878, allocations: 167.5 kB / 0.7066 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009701/0.879, allocations: 0.7135 MB / 0.7073 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.8808, allocations: 157.7 kB / 0.7075 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.8809, allocations: 35.77 kB / 0.7075 GB, free: 12.76 MB / 0.5294 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.001125/0.8821, allocations: 418.5 kB / 0.7079 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006229/0.8827, allocations: 135.8 kB / 0.708 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/0.8878, allocations: 1.396 MB / 0.7094 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.8879, allocations: 12.2 kB / 0.7094 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.8879, allocations: 4 kB / 0.7094 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004025/0.8919, allocations: 1.234 MB / 0.7106 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008564/0.9005, allocations: 2.732 MB / 0.7133 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/0.9006, allocations: 3.984 kB / 0.7133 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.9011, allocations: 120.5 kB / 0.7134 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005136/0.9016, allocations: 145.3 kB / 0.7135 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/0.9017, allocations: 23.98 kB / 0.7135 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/0.9065, allocations: 2.477 MB / 0.716 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.9065, allocations: 2.938 kB / 0.716 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/0.912, allocations: 1.849 MB / 0.7178 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.9134, allocations: 337.1 kB / 0.7181 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006148/0.9141, allocations: 18.23 kB / 0.7181 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.9155, allocations: 98.94 kB / 0.7182 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.9157, allocations: 56.86 kB / 0.7183 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.9159, allocations: 33.72 kB / 0.7183 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002088/0.918, allocations: 0.8591 MB / 0.7191 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.8e-07/0.918, allocations: 4 kB / 0.7191 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003492/0.9215, allocations: 0.7057 MB / 0.7198 GB, free: 4.504 MB / 0.5294 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.001313/0.9228, allocations: 435.6 kB / 0.7202 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002804/0.9256, allocations: 1.16 MB / 0.7214 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.9257, allocations: 4.188 kB / 0.7214 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.9272, allocations: 0.5876 MB / 0.722 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004596/0.9318, allocations: 0.762 MB / 0.7227 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005407/0.9372, allocations: 2.805 MB / 0.7254 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/0.938, allocations: 1.169 MB / 0.7266 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.9384, allocations: 107.4 kB / 0.7267 GB, free: 13.39 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/0.9385, allocations: 0 / 0.7267 GB, free: 13.39 MB / 0.545 GB Notification: Performance of Templates: time 0.04661/0.9851, allocations: 30.73 MB / 0.7567 GB, free: 14.83 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile make -j1 -f IDEAS_dev_IDEAS.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 OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_yCalcHelperMain.o] Error 1