Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 100.5 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.001261/0.001261, allocations: 177.2 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.534/1.534, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.077/1.077, allocations: 135.3 MB / 427 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 12 kB / 0.5076 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2105, allocations: 82.32 MB / 0.588 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7379/0.9485, allocations: 277.5 MB / 0.859 GB, free: 6.91 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.5998/1.548, allocations: 46.93 MB / 0.9048 GB, free: 65.05 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01716/1.566, allocations: 261.2 kB / 0.9051 GB, free: 65.05 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01427/1.58, allocations: 2.385 MB / 0.9074 GB, free: 65.01 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03508/1.615, allocations: 7.237 MB / 0.9145 GB, free: 64.7 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02043/1.636, allocations: 4.777 MB / 0.9191 GB, free: 64.58 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04666/1.682, allocations: 21.04 MB / 0.9397 GB, free: 62.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01544/1.698, allocations: 4.312 MB / 0.9439 GB, free: 61.95 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02294/1.721, allocations: 5.908 MB / 0.9497 GB, free: 59.96 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01367/1.734, allocations: 4.604 MB / 0.9542 GB, free: 58.15 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003383/1.738, allocations: 230.1 kB / 0.9544 GB, free: 58.15 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/1.755, allocations: 2.647 MB / 0.957 GB, free: 57.43 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004247/1.759, allocations: 1.063 MB / 0.958 GB, free: 56.93 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00606/1.765, allocations: 1.371 MB / 0.9593 GB, free: 56.68 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0178/1.783, allocations: 7.434 MB / 0.9666 GB, free: 52.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.783, allocations: 3.938 kB / 0.9666 GB, free: 52.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.635e-06/1.783, allocations: 3.312 kB / 0.9666 GB, free: 52.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0005366/1.784, allocations: 0 / 0.9666 GB, free: 52.86 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01753/1.801, allocations: 6.263 MB / 0.9727 GB, free: 48.95 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.801, allocations: 9.781 kB / 0.9727 GB, free: 48.95 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004244/1.806, allocations: 0.7875 MB / 0.9735 GB, free: 48.56 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01508/1.821, allocations: 5.01 MB / 0.9784 GB, free: 46.49 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005617/1.821, allocations: 315.9 kB / 0.9787 GB, free: 46.48 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/1.823, allocations: 437.3 kB / 0.9791 GB, free: 46.47 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009869/1.833, allocations: 4.35 MB / 0.9834 GB, free: 43.58 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/1.833, allocations: 20.53 kB / 0.9834 GB, free: 43.57 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005106/1.834, allocations: 177.2 kB / 0.9836 GB, free: 43.52 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/1.834, allocations: 127.4 kB / 0.9837 GB, free: 43.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005476/1.839, allocations: 2.939 MB / 0.9865 GB, free: 41.46 MB / 0.67 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.0277/1.867, allocations: 25.02 MB / 1.011 GB, free: 18.62 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/1.87, allocations: 2.75 MB / 1.014 GB, free: 16.41 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/1.871, allocations: 0.9908 MB / 1.015 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00207/1.873, allocations: 3.924 MB / 1.018 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.612e-05/1.873, allocations: 64.44 kB / 1.019 GB, free: 11.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=217): time 4.568e-06/1.873, allocations: 0 / 1.019 GB, free: 11.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=217): time 0.00932/1.882, allocations: 4.066 MB / 1.022 GB, free: 7.684 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/1.882, allocations: 73.41 kB / 1.023 GB, free: 7.602 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006148/1.888, allocations: 4.187 MB / 1.027 GB, free: 4.566 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005662/1.889, allocations: 82.14 kB / 1.027 GB, free: 4.516 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001844/1.891, allocations: 2.788 MB / 1.029 GB, free: 2.355 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009246/1.892, allocations: 0.764 MB / 1.03 GB, free: 1.598 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/1.892, allocations: 56 kB / 1.03 GB, free: 1.543 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.892, allocations: 415.9 kB / 1.031 GB, free: 1.133 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/1.893, allocations: 0.7876 MB / 1.031 GB, free: 352 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/1.896, allocations: 1.799 MB / 1.033 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001796/1.897, allocations: 1.071 MB / 1.034 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/1.897, allocations: 4 kB / 1.034 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008066/1.905, allocations: 3.498 MB / 1.038 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006255/1.906, allocations: 0.7425 MB / 1.038 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/1.906, allocations: 20 kB / 1.038 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/1.908, allocations: 0.5641 MB / 1.039 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/1.91, allocations: 0.5616 MB / 1.039 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/1.913, allocations: 2.69 MB / 1.042 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005318/1.918, allocations: 0.588 MB / 1.043 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004498/1.918, allocations: 144 kB / 1.043 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/1.918, allocations: 4 kB / 1.043 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006241/1.925, allocations: 2.802 MB / 1.046 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.687e-05/1.925, allocations: 20 kB / 1.046 GB, free: 0.875 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009762/1.926, allocations: 368.9 kB / 1.046 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/1.928, allocations: 0.5616 MB / 1.046 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009157/1.937, allocations: 7.698 MB / 1.054 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/1.942, allocations: 0.5566 MB / 1.055 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000639/1.943, allocations: 132 kB / 1.055 GB, free: 7.004 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003153/1.946, allocations: 1.004 MB / 1.056 GB, free: 5.992 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002019/1.948, allocations: 0.5094 MB / 1.056 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008616/1.957, allocations: 3.563 MB / 1.06 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.332e-05/1.957, allocations: 39.97 kB / 1.06 GB, free: 1.816 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-05/1.957, allocations: 4 kB / 1.06 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004622/1.962, allocations: 2.43 MB / 1.062 GB, free: 15.34 MB / 0.7169 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 postOpt removeSimpleEquations (simulation): time 0.02154/1.983, allocations: 8.204 MB / 1.07 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/1.983, allocations: 4 kB / 1.07 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/1.985, allocations: 359.6 kB / 1.07 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007389/1.986, allocations: 310.5 kB / 1.071 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002309/1.986, allocations: 59.97 kB / 1.071 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/1.988, allocations: 2.507 MB / 1.073 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.988, allocations: 0 / 1.073 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008575/1.997, allocations: 4.331 MB / 1.077 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003719/2, allocations: 0.974 MB / 1.078 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/2.002, allocations: 43.98 kB / 1.078 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004483/2.006, allocations: 426.2 kB / 1.079 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003296/2.007, allocations: 161.7 kB / 1.079 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003628/2.007, allocations: 103.9 kB / 1.079 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.006509/2.014, allocations: 2.746 MB / 1.082 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.91e-07/2.014, allocations: 0 / 1.082 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.01512/2.029, allocations: 3.257 MB / 1.085 GB, free: 7.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003745/2.033, allocations: 1.421 MB / 1.086 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009255/2.042, allocations: 4.402 MB / 1.091 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/2.042, allocations: 0 / 1.091 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0028/2.045, allocations: 1.233 MB / 1.092 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01832/2.063, allocations: 2.64 MB / 1.094 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/2.089, allocations: 11.15 MB / 1.105 GB, free: 2.766 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002936/2.092, allocations: 2.864 MB / 1.108 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001808/2.094, allocations: 431.2 kB / 1.109 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of SimCode: time 1.092e-06/2.094, allocations: 0 / 1.109 GB, free: 15.46 MB / 0.7637 GB Notification: Performance of Templates: time 0.6495/2.743, allocations: 190.4 MB / 1.294 GB, free: 224.4 MB / 0.795 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_uCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_uCalcHelperMain.o] Error 1