Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008312/0.0008313, allocations: 99.36 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.001011/0.001011, allocations: 179.2 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.416/1.416, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7922/0.7922, allocations: 132.3 MB / 424 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003383, allocations: 8 kB / 0.504 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5075/0.5078, allocations: 81.58 MB / 0.5837 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05666/0.5645, allocations: 56.47 MB / 0.6388 GB, free: 7.922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01687/0.5814, allocations: 11.2 MB / 0.6498 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002779/0.5843, allocations: 51.62 kB / 0.6498 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.5862, allocations: 460.9 kB / 0.6503 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005236/0.5915, allocations: 1.525 MB / 0.6517 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.5941, allocations: 0.8663 MB / 0.6526 GB, free: 9.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004243/0.5984, allocations: 3.386 MB / 0.6559 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.5997, allocations: 0.7938 MB / 0.6567 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/0.6019, allocations: 1.038 MB / 0.6577 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.603, allocations: 0.8049 MB / 0.6585 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.6031, allocations: 40 kB / 0.6585 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.6055, allocations: 1.088 MB / 0.6596 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.6057, allocations: 203 kB / 0.6598 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003331/0.606, allocations: 285 kB / 0.66 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.6079, allocations: 1.629 MB / 0.6616 GB, free: 500 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6079, allocations: 4 kB / 0.6616 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6079, allocations: 0 / 0.6616 GB, free: 496 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.6079, allocations: 0 / 0.6616 GB, free: 496 kB / 494.1 MB 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.002451/0.6104, allocations: 1.489 MB / 0.6631 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6104, allocations: 8.031 kB / 0.6631 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001884/0.6123, allocations: 477.9 kB / 0.6636 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.6142, allocations: 1.094 MB / 0.6646 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003139/0.6146, allocations: 125.9 kB / 0.6647 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.6147, allocations: 80 kB / 0.6648 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.6165, allocations: 1.001 MB / 0.6658 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.6166, allocations: 3.938 kB / 0.6658 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.211e-05/0.6167, allocations: 32 kB / 0.6658 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.6167, allocations: 20 kB / 0.6658 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.6188, allocations: 0.9133 MB / 0.6667 GB, free: 11.09 MB / 0.4981 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.005717/0.6245, allocations: 4.902 MB / 0.6715 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.6275, allocations: 0.8941 MB / 0.6724 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006736/0.6282, allocations: 316.7 kB / 0.6727 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000615/0.6288, allocations: 0.9025 MB / 0.6736 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.6288, allocations: 46.52 kB / 0.6736 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.775e-06/0.6289, allocations: 3.938 kB / 0.6736 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.0076/0.6365, allocations: 2.142 MB / 0.6757 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.6365, allocations: 59.41 kB / 0.6758 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.6381, allocations: 1.04 MB / 0.6768 GB, free: 160 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.325e-05/0.6382, allocations: 37.7 kB / 0.6768 GB, free: 116 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.6387, allocations: 0.5313 MB / 0.6773 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.6388, allocations: 153.8 kB / 0.6775 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.6389, allocations: 8 kB / 0.6775 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.639, allocations: 326 kB / 0.6778 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007895/0.6398, allocations: 324.8 kB / 0.6781 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009334/0.6407, allocations: 0.529 MB / 0.6786 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.6416, allocations: 357.9 kB / 0.679 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6416, allocations: 0 / 0.679 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003269/0.6449, allocations: 1.212 MB / 0.6802 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.645, allocations: 217.2 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.6451, allocations: 11.94 kB / 0.6804 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.6462, allocations: 324.7 kB / 0.6807 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.6467, allocations: 127.8 kB / 0.6808 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.6481, allocations: 0.9387 MB / 0.6817 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.6494, allocations: 191.2 kB / 0.6819 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.671e-05/0.6495, allocations: 27.98 kB / 0.6819 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.6495, allocations: 5.875 kB / 0.6819 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002949/0.6525, allocations: 1.09 MB / 0.683 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6525, allocations: 7.953 kB / 0.683 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009893/0.6535, allocations: 320.8 kB / 0.6833 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.654, allocations: 127.8 kB / 0.6834 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.6553, allocations: 0.9375 MB / 0.6844 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.6564, allocations: 171.3 kB / 0.6845 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/0.6565, allocations: 27.98 kB / 0.6846 GB, free: 7.98 MB / 0.5137 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.0005853/0.6571, allocations: 352.7 kB / 0.6849 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.6573, allocations: 106.7 kB / 0.685 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003296/0.6606, allocations: 1.199 MB / 0.6862 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.6606, allocations: 8 kB / 0.6862 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.6606, allocations: 0 / 0.6862 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6606, allocations: 3.984 kB / 0.6862 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004536/0.6652, allocations: 2.261 MB / 0.6884 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.6652, allocations: 4 kB / 0.6884 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.6655, allocations: 72.17 kB / 0.6885 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009452/0.6664, allocations: 324.5 kB / 0.6888 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.6665, allocations: 12 kB / 0.6888 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.6678, allocations: 0.9738 MB / 0.6897 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6678, allocations: 4 kB / 0.6897 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/0.671, allocations: 1.253 MB / 0.691 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.6715, allocations: 279.4 kB / 0.6912 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.6716, allocations: 23.94 kB / 0.6912 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007776/0.6724, allocations: 107.8 kB / 0.6913 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.6725, allocations: 35.89 kB / 0.6914 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/0.6725, allocations: 23.98 kB / 0.6914 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001097/0.6737, allocations: 0.735 MB / 0.6921 GB, free: 20 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6737, allocations: 0 / 0.6921 GB, free: 20 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001498/0.6752, allocations: 0.5574 MB / 0.6927 GB, free: 15.46 MB / 0.5294 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.0006996/0.6759, allocations: 366.6 kB / 0.693 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002964/0.6789, allocations: 1.159 MB / 0.6941 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6789, allocations: 0 / 0.6941 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008241/0.6797, allocations: 376.4 kB / 0.6945 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.6821, allocations: 0.4992 MB / 0.695 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/0.6874, allocations: 2.517 MB / 0.6974 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006015/0.688, allocations: 1.058 MB / 0.6985 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.6883, allocations: 83.41 kB / 0.6986 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of SimCode: time 1.232e-06/0.6883, allocations: 0 / 0.6986 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.03289/0.7212, allocations: 23.66 MB / 0.7217 GB, free: 1.867 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TConCalcHelperMain.o] Error 1