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.0008556/0.0008555, 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.0008756/0.0008757, allocations: 175.4 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.393/1.393, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7684/0.7684, allocations: 132.3 MB / 424 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 8 kB / 0.504 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5205/0.5208, allocations: 81.58 MB / 0.5837 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2373/0.7582, allocations: 215.1 MB / 0.7937 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02273/0.7809, allocations: 14.72 MB / 0.8081 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003355/0.7843, allocations: 75.5 kB / 0.8082 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003381/0.7877, allocations: 0.8621 MB / 0.809 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009554/0.7973, allocations: 2.527 MB / 0.8115 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006793/0.8041, allocations: 1.847 MB / 0.8133 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.4677/1.272, allocations: 5.558 MB / 0.8187 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003949/1.276, allocations: 1.381 MB / 0.8201 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008077/1.284, allocations: 2.13 MB / 0.8221 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00551/1.29, allocations: 1.485 MB / 0.8236 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0007249/1.29, allocations: 83.16 kB / 0.8237 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006792/1.297, allocations: 2.108 MB / 0.8257 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001468/1.299, allocations: 0.6205 MB / 0.8263 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/1.3, allocations: 460.4 kB / 0.8268 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006132/1.306, allocations: 3.003 MB / 0.8297 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/1.306, allocations: 1.094 kB / 0.8297 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.504e-06/1.306, allocations: 0 / 0.8297 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.909e-05/1.306, allocations: 0 / 0.8297 GB, free: 9.949 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.007282/1.314, allocations: 2.464 MB / 0.8321 GB, free: 24.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/1.314, allocations: 9.094 kB / 0.8321 GB, free: 24.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006076/1.32, allocations: 0.8119 MB / 0.8329 GB, free: 24.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005316/1.325, allocations: 1.58 MB / 0.8345 GB, free: 24.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004007/1.326, allocations: 181.1 kB / 0.8346 GB, free: 24.02 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/1.326, allocations: 140.4 kB / 0.8348 GB, free: 24.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00388/1.33, allocations: 1.675 MB / 0.8364 GB, free: 23.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/1.33, allocations: 6.484 kB / 0.8364 GB, free: 23.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/1.33, allocations: 50.56 kB / 0.8365 GB, free: 23.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.904e-05/1.33, allocations: 54.09 kB / 0.8365 GB, free: 23.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003085/1.333, allocations: 1.491 MB / 0.838 GB, free: 23.77 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.01127/1.344, allocations: 7.621 MB / 0.8454 GB, free: 19.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/1.347, allocations: 1.673 MB / 0.847 GB, free: 19.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/1.348, allocations: 0.5446 MB / 0.8476 GB, free: 19.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001302/1.349, allocations: 0.8107 MB / 0.8484 GB, free: 18.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/1.351, allocations: 0.5824 MB / 0.8489 GB, free: 18.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001171/1.352, allocations: 124.9 kB / 0.849 GB, free: 18.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 3.897e-06/1.352, allocations: 0 / 0.849 GB, free: 18.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.003885/1.356, allocations: 1.665 MB / 0.8507 GB, free: 18.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.356, allocations: 63.81 kB / 0.8507 GB, free: 17.96 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/1.358, allocations: 1.595 MB / 0.8523 GB, free: 17.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/1.358, allocations: 49.05 kB / 0.8523 GB, free: 17.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007409/1.359, allocations: 0.9116 MB / 0.8532 GB, free: 17.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/1.359, allocations: 306.1 kB / 0.8535 GB, free: 17.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/1.359, allocations: 18.28 kB / 0.8535 GB, free: 17.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.359, allocations: 346.1 kB / 0.8539 GB, free: 16.9 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009495/1.36, allocations: 456 kB / 0.8543 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/1.362, allocations: 0.7946 MB / 0.8551 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/1.363, allocations: 0.5607 MB / 0.8556 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.363, allocations: 2.906 kB / 0.8556 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002696/1.365, allocations: 1.443 MB / 0.857 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002266/1.366, allocations: 367.9 kB / 0.8574 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.366, allocations: 8.406 kB / 0.8574 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/1.366, allocations: 14.47 kB / 0.8574 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.367, allocations: 293 kB / 0.8577 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/1.367, allocations: 21.31 kB / 0.8577 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.369, allocations: 162.2 kB / 0.8579 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/1.369, allocations: 49.16 kB / 0.8579 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.266e-06/1.369, allocations: 2.938 kB / 0.8579 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002278/1.371, allocations: 1.263 MB / 0.8591 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/1.371, allocations: 9.656 kB / 0.8592 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.371, allocations: 13.78 kB / 0.8592 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.372, allocations: 285.6 kB / 0.8594 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/1.372, allocations: 17.38 kB / 0.8595 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/1.374, allocations: 167.1 kB / 0.8596 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.408e-05/1.374, allocations: 49.94 kB / 0.8597 GB, free: 15.71 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001138/1.375, allocations: 0.5267 MB / 0.8602 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/1.375, allocations: 182 kB / 0.8604 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/1.378, allocations: 1.219 MB / 0.8615 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/1.378, allocations: 8.812 kB / 0.8616 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.378, allocations: 1.828 kB / 0.8616 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001973/1.38, allocations: 1.29 MB / 0.8628 GB, free: 14.83 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.005041/1.385, allocations: 2.994 MB / 0.8657 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.385, allocations: 0 / 0.8657 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008824/1.386, allocations: 203.5 kB / 0.8659 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/1.386, allocations: 48.05 kB / 0.866 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/1.386, allocations: 27.34 kB / 0.866 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/1.387, allocations: 1.429 MB / 0.8674 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.387, allocations: 3.984 kB / 0.8674 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003268/1.391, allocations: 1.851 MB / 0.8692 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008048/1.391, allocations: 347.7 kB / 0.8695 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/1.392, allocations: 20.91 kB / 0.8696 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.393, allocations: 153.8 kB / 0.8697 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/1.393, allocations: 74.58 kB / 0.8698 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/1.393, allocations: 29.42 kB / 0.8698 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001526/1.394, allocations: 1.073 MB / 0.8709 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/1.394, allocations: 3.188 kB / 0.8709 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002914/1.397, allocations: 0.9742 MB / 0.8718 GB, free: 12.13 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 (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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001449/1.399, allocations: 0.6006 MB / 0.8724 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0034/1.402, allocations: 1.84 MB / 0.8742 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.402, allocations: 2.812 kB / 0.8742 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/1.403, allocations: 0.6275 MB / 0.8748 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.407, allocations: 0.8044 MB / 0.8756 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007615/1.415, allocations: 4.521 MB / 0.88 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.416, allocations: 1.488 MB / 0.8815 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/1.417, allocations: 144 kB / 0.8816 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of SimCode: time 1.713e-06/1.417, allocations: 0 / 0.8816 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of Templates: time 0.05367/1.47, allocations: 33.96 MB / 0.9148 GB, free: 2.031 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.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.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