Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.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.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008865/0.0008865, allocations: 92.7 kB / 16.02 MB, free: 80 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.001163/0.001162, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.283/1.283, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6941/0.6941, allocations: 132.3 MB / 424.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 8 kB / 0.5046 GB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3999, allocations: 81.57 MB / 0.5843 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2174/0.6173, allocations: 230.6 MB / 0.8094 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3831/1, allocations: 15.7 MB / 0.8248 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003992/1.005, allocations: 76.75 kB / 0.8248 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004653/1.009, allocations: 1.134 MB / 0.8259 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/1.021, allocations: 3.184 MB / 0.829 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00791/1.029, allocations: 2.228 MB / 0.8312 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01255/1.041, allocations: 6.542 MB / 0.8376 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003852/1.045, allocations: 1.592 MB / 0.8392 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007343/1.052, allocations: 2.348 MB / 0.8415 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004184/1.057, allocations: 1.533 MB / 0.843 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004599/1.057, allocations: 81 kB / 0.843 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007489/1.065, allocations: 3.733 MB / 0.8467 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009407/1.066, allocations: 0.6243 MB / 0.8473 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001986/1.068, allocations: 1.074 MB / 0.8483 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005244/1.073, allocations: 3.142 MB / 0.8514 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.073, allocations: 0 / 0.8514 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.004e-06/1.073, allocations: 0 / 0.8514 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.879e-05/1.073, allocations: 0 / 0.8514 GB, free: 1.695 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.004652/1.078, allocations: 2.425 MB / 0.8538 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.078, allocations: 8.969 kB / 0.8538 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/1.082, allocations: 0.806 MB / 0.8546 GB, free: 16.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/1.085, allocations: 1.673 MB / 0.8562 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003746/1.086, allocations: 172.6 kB / 0.8564 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/1.086, allocations: 142.8 kB / 0.8565 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/1.089, allocations: 1.676 MB / 0.8581 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/1.089, allocations: 12.19 kB / 0.8582 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/1.089, allocations: 52.38 kB / 0.8582 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.897e-05/1.089, allocations: 52.73 kB / 0.8583 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/1.092, allocations: 1.489 MB / 0.8597 GB, free: 15.44 MB / 0.6544 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.0106/1.103, allocations: 7.599 MB / 0.8671 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/1.105, allocations: 1.641 MB / 0.8687 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.106, allocations: 0.5389 MB / 0.8693 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/1.108, allocations: 0.813 MB / 0.8701 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/1.109, allocations: 0.5789 MB / 0.8706 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008672/1.11, allocations: 126.2 kB / 0.8707 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 3.006e-06/1.11, allocations: 0 / 0.8707 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.004091/1.114, allocations: 1.652 MB / 0.8724 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/1.114, allocations: 64.73 kB / 0.8724 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/1.116, allocations: 1.572 MB / 0.8739 GB, free: 9.457 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/1.116, allocations: 46.83 kB / 0.874 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007311/1.117, allocations: 0.9117 MB / 0.8749 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/1.117, allocations: 307.1 kB / 0.8752 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.117, allocations: 94.97 kB / 0.8753 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.117, allocations: 351.3 kB / 0.8756 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/1.119, allocations: 473.3 kB / 0.8761 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/1.12, allocations: 0.8093 MB / 0.8768 GB, free: 8.047 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/1.122, allocations: 1.261 MB / 0.8781 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.122, allocations: 4 kB / 0.8781 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00265/1.125, allocations: 1.479 MB / 0.8795 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002413/1.125, allocations: 370.2 kB / 0.8799 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/1.125, allocations: 6.375 kB / 0.8799 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/1.125, allocations: 15.25 kB / 0.8799 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.126, allocations: 285.2 kB / 0.8802 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/1.126, allocations: 19.84 kB / 0.8802 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/1.128, allocations: 158.9 kB / 0.8803 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-05/1.128, allocations: 49.39 kB / 0.8804 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/1.128, allocations: 4.969 kB / 0.8804 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002342/1.13, allocations: 1.272 MB / 0.8816 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.13, allocations: 12.91 kB / 0.8816 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/1.13, allocations: 17.05 kB / 0.8817 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/1.131, allocations: 279 kB / 0.8819 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/1.131, allocations: 18.62 kB / 0.8819 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.132, allocations: 164.7 kB / 0.8821 GB, free: 6.406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.338e-05/1.132, allocations: 45.09 kB / 0.8821 GB, free: 6.406 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008983/1.133, allocations: 0.5323 MB / 0.8827 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/1.134, allocations: 178.7 kB / 0.8828 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/1.136, allocations: 1.216 MB / 0.884 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.136, allocations: 9.656 kB / 0.884 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/1.136, allocations: 3.938 kB / 0.884 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002094/1.138, allocations: 1.279 MB / 0.8853 GB, free: 5.164 MB / 0.6544 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.004886/1.143, allocations: 2.969 MB / 0.8882 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/1.143, allocations: 0 / 0.8882 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008582/1.144, allocations: 199.5 kB / 0.8884 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/1.144, allocations: 47.03 kB / 0.8884 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.156e-05/1.144, allocations: 24.2 kB / 0.8884 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/1.146, allocations: 1.413 MB / 0.8898 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.146, allocations: 6.859 kB / 0.8898 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003165/1.149, allocations: 1.838 MB / 0.8916 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/1.149, allocations: 337.1 kB / 0.8919 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/1.149, allocations: 21.84 kB / 0.892 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.15, allocations: 156.4 kB / 0.8921 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.151, allocations: 61.48 kB / 0.8922 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/1.151, allocations: 40.47 kB / 0.8922 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001275/1.152, allocations: 1.055 MB / 0.8932 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/1.152, allocations: 0 / 0.8932 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002393/1.154, allocations: 0.9631 MB / 0.8942 GB, free: 1.391 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/1.156, allocations: 0.5951 MB / 0.8948 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00328/1.159, allocations: 1.848 MB / 0.8966 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.159, allocations: 5.984 kB / 0.8966 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/1.16, allocations: 0.6327 MB / 0.8972 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/1.163, allocations: 0.7767 MB / 0.898 GB, free: 352 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/1.171, allocations: 4.601 MB / 0.9024 GB, free: 13.67 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.172, allocations: 1.487 MB / 0.9039 GB, free: 12.65 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/1.173, allocations: 142.3 kB / 0.904 GB, free: 12.63 MB / 0.67 GB Notification: Performance of SimCode: time 8.02e-07/1.173, allocations: 0 / 0.904 GB, free: 12.63 MB / 0.67 GB Notification: Performance of Templates: time 0.06171/1.234, allocations: 33.59 MB / 0.9368 GB, free: 11.87 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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.HeatExchangers.Examples.AirHeater_TCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_TCalcHelperMain.o] Error 1