Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008808/0.0008808, 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.0009875/0.0009876, allocations: 175.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.44/1.44, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.3 MB / 427 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 12.56 kB / 0.5076 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1916, allocations: 82.31 MB / 0.588 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5816/0.7732, allocations: 215.1 MB / 0.798 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02129/0.7945, allocations: 14.72 MB / 0.8124 GB, free: 7.074 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.7978, allocations: 79.5 kB / 0.8125 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.8009, allocations: 0.8633 MB / 0.8133 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00777/0.8087, allocations: 2.522 MB / 0.8158 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006007/0.8147, allocations: 1.852 MB / 0.8176 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007973/0.8227, allocations: 5.573 MB / 0.823 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/0.8254, allocations: 1.382 MB / 0.8244 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005151/0.8306, allocations: 2.128 MB / 0.8264 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003408/0.834, allocations: 1.487 MB / 0.8279 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004848/0.8345, allocations: 80 kB / 0.828 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00605/0.8406, allocations: 2.105 MB / 0.83 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.8416, allocations: 0.6228 MB / 0.8306 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009547/0.8425, allocations: 460.5 kB / 0.8311 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004734/0.8473, allocations: 3.005 MB / 0.834 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.8473, allocations: 0 / 0.834 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8473, allocations: 0 / 0.834 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.591e-05/0.8474, allocations: 4 kB / 0.834 GB, free: 0.8672 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.005065/0.8524, allocations: 2.455 MB / 0.8364 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.8525, allocations: 8.031 kB / 0.8364 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004461/0.857, allocations: 0.8127 MB / 0.8372 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004317/0.8613, allocations: 1.588 MB / 0.8388 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003546/0.8617, allocations: 170.5 kB / 0.8389 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.862, allocations: 148 kB / 0.8391 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/0.8652, allocations: 1.676 MB / 0.8407 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.8653, allocations: 3.938 kB / 0.8407 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.8654, allocations: 55.98 kB / 0.8408 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.839e-05/0.8655, allocations: 50.47 kB / 0.8408 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.8685, allocations: 1.501 MB / 0.8423 GB, free: 8.211 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.0102/0.8787, allocations: 7.61 MB / 0.8497 GB, free: 48 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.8813, allocations: 1.674 MB / 0.8513 GB, free: 14.24 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.8824, allocations: 0.5354 MB / 0.8519 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.8837, allocations: 0.8101 MB / 0.8527 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.8849, allocations: 0.5868 MB / 0.8532 GB, free: 12.15 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009369/0.8858, allocations: 115.2 kB / 0.8533 GB, free: 12.04 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 5.981e-06/0.8859, allocations: 0 / 0.8533 GB, free: 12.04 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003877/0.8897, allocations: 1.679 MB / 0.855 GB, free: 10.33 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.8898, allocations: 60.41 kB / 0.855 GB, free: 10.26 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.892, allocations: 1.591 MB / 0.8566 GB, free: 8.629 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.8921, allocations: 45.7 kB / 0.8566 GB, free: 8.578 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000819/0.8929, allocations: 0.9164 MB / 0.8575 GB, free: 7.652 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.8932, allocations: 303.7 kB / 0.8578 GB, free: 7.352 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.8933, allocations: 20 kB / 0.8578 GB, free: 7.332 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8934, allocations: 345.9 kB / 0.8582 GB, free: 6.988 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009558/0.8944, allocations: 454.3 kB / 0.8586 GB, free: 6.547 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.8956, allocations: 0.7976 MB / 0.8594 GB, free: 5.602 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.8967, allocations: 0.5589 MB / 0.8599 GB, free: 5.035 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.8967, allocations: 4 kB / 0.8599 GB, free: 5.031 MB / 0.67 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002865/0.8996, allocations: 1.442 MB / 0.8613 GB, free: 3.574 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002467/0.8998, allocations: 371.2 kB / 0.8617 GB, free: 3.094 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.8999, allocations: 9.938 kB / 0.8617 GB, free: 3.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.8999, allocations: 16 kB / 0.8617 GB, free: 3.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.901, allocations: 283.6 kB / 0.862 GB, free: 2.793 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.9011, allocations: 15.94 kB / 0.862 GB, free: 2.777 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.9027, allocations: 174.4 kB / 0.8622 GB, free: 2.609 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.356e-05/0.9028, allocations: 51.98 kB / 0.8622 GB, free: 2.559 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.9028, allocations: 4 kB / 0.8622 GB, free: 2.555 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002376/0.9052, allocations: 1.258 MB / 0.8635 GB, free: 1.285 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.9052, allocations: 8 kB / 0.8635 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.9052, allocations: 12.81 kB / 0.8635 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.9063, allocations: 279.6 kB / 0.8637 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/0.9063, allocations: 29.36 kB / 0.8638 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.9078, allocations: 167.6 kB / 0.8639 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/0.9079, allocations: 59.92 kB / 0.864 GB, free: 0.7461 MB / 0.67 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.001001/0.9089, allocations: 0.5358 MB / 0.8645 GB, free: 204 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.9092, allocations: 177.8 kB / 0.8647 GB, free: 24 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4018/1.311, allocations: 1.212 MB / 0.8659 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/1.311, allocations: 8.766 kB / 0.8659 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.311, allocations: 3.5 kB / 0.8659 GB, free: 216 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001866/1.313, allocations: 1.286 MB / 0.8671 GB, free: 215.6 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 postOpt removeSimpleEquations (simulation): time 0.005197/1.318, allocations: 2.986 MB / 0.87 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.318, allocations: 0 / 0.87 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000862/1.319, allocations: 200.7 kB / 0.8702 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/1.319, allocations: 56.91 kB / 0.8703 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/1.319, allocations: 25.55 kB / 0.8703 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/1.32, allocations: 1.42 MB / 0.8717 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.32, allocations: 0 / 0.8717 GB, free: 213.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003333/1.324, allocations: 1.852 MB / 0.8735 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/1.324, allocations: 348.6 kB / 0.8738 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/1.325, allocations: 17.78 kB / 0.8739 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/1.326, allocations: 161 kB / 0.874 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/1.326, allocations: 68.38 kB / 0.8741 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/1.326, allocations: 34.03 kB / 0.8741 GB, free: 213.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001398/1.327, allocations: 1.073 MB / 0.8752 GB, free: 212.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.113e-06/1.327, allocations: 0 / 0.8752 GB, free: 212.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002578/1.33, allocations: 0.9798 MB / 0.8761 GB, free: 212.7 MB / 0.67 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.001398/1.331, allocations: 0.601 MB / 0.8767 GB, free: 212.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003453/1.335, allocations: 1.843 MB / 0.8785 GB, free: 212 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.335, allocations: 2.656 kB / 0.8785 GB, free: 212 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/1.336, allocations: 0.6323 MB / 0.8791 GB, free: 211.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/1.339, allocations: 0.7974 MB / 0.8799 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008262/1.348, allocations: 4.525 MB / 0.8843 GB, free: 209.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/1.349, allocations: 1.486 MB / 0.8858 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000477/1.349, allocations: 145.5 kB / 0.8859 GB, free: 208.4 MB / 0.67 GB Notification: Performance of SimCode: time 9.92e-07/1.349, allocations: 0 / 0.8859 GB, free: 208.4 MB / 0.67 GB Notification: Performance of Templates: time 0.0716/1.421, allocations: 33.95 MB / 0.9191 GB, free: 200 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_TCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_TCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_TCalcHelperMain.o] Error 1