Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_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/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.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007617/0.0007618, allocations: 92.39 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.0008595/0.0008595, allocations: 176.3 kB / 16.92 MB, free: 6.652 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.313/1.313, allocations: 223.2 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7586/0.7586, allocations: 132.3 MB / 424.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 8 kB / 0.5046 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5062/0.5066, allocations: 81.58 MB / 0.5843 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.06774/0.5744, allocations: 65.32 MB / 0.6481 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02603/0.6005, allocations: 16.65 MB / 0.6643 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004827/0.6053, allocations: 87.44 kB / 0.6644 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003886/0.6092, allocations: 0.9949 MB / 0.6654 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0089/0.6182, allocations: 2.443 MB / 0.6678 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006375/0.6246, allocations: 2.089 MB / 0.6698 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.6347, allocations: 6.977 MB / 0.6766 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002999/0.6378, allocations: 1.57 MB / 0.6782 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004626/0.6424, allocations: 1.746 MB / 0.6799 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003189/0.6456, allocations: 1.427 MB / 0.6813 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004029/0.6461, allocations: 76 kB / 0.6813 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005006/0.6511, allocations: 1.824 MB / 0.6831 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007331/0.6518, allocations: 442.1 kB / 0.6835 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.6538, allocations: 1.016 MB / 0.6845 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00573/0.6595, allocations: 2.677 MB / 0.6871 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.6595, allocations: 0 / 0.6871 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.707e-06/0.6596, allocations: 0 / 0.6871 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.199e-05/0.6596, allocations: 0 / 0.6871 GB, free: 6.828 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.005223/0.6649, allocations: 2.294 MB / 0.6894 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001298/0.665, allocations: 12.03 kB / 0.6894 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.6665, allocations: 385.9 kB / 0.6898 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003907/0.6705, allocations: 1.807 MB / 0.6915 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003948/0.6709, allocations: 166.4 kB / 0.6917 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/0.6711, allocations: 135.9 kB / 0.6918 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/0.6742, allocations: 1.442 MB / 0.6932 GB, free: 396 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.6743, allocations: 7.938 kB / 0.6932 GB, free: 388 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.6744, allocations: 52 kB / 0.6933 GB, free: 336 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.512e-05/0.6744, allocations: 50.3 kB / 0.6933 GB, free: 284 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.677, allocations: 1.141 MB / 0.6944 GB, free: 15.12 MB / 0.5294 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.01084/0.6879, allocations: 7.377 MB / 0.7016 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.6902, allocations: 1.342 MB / 0.7029 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009816/0.6912, allocations: 470.5 kB / 0.7034 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005112/0.6963, allocations: 2.658 MB / 0.706 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.6974, allocations: 0.4985 MB / 0.7065 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006132/0.698, allocations: 79.34 kB / 0.7066 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=64): time 2.074e-06/0.698, allocations: 0 / 0.7066 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of matching and sorting (n=64): time 0.002957/0.701, allocations: 1.276 MB / 0.7078 GB, free: 484 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.7011, allocations: 111.4 kB / 0.7079 GB, free: 348 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.7031, allocations: 1.449 MB / 0.7093 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/0.7032, allocations: 45.7 kB / 0.7094 GB, free: 14.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007981/0.704, allocations: 0.8917 MB / 0.7102 GB, free: 13.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.7042, allocations: 232.7 kB / 0.7105 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.7043, allocations: 97.59 kB / 0.7106 GB, free: 13.61 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.7045, allocations: 345.9 kB / 0.7109 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008732/0.7054, allocations: 389.8 kB / 0.7113 GB, free: 12.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.7065, allocations: 0.7467 MB / 0.712 GB, free: 11.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.7086, allocations: 1.12 MB / 0.7131 GB, free: 10.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.7086, allocations: 4 kB / 0.7131 GB, free: 10.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002735/0.7113, allocations: 1.309 MB / 0.7144 GB, free: 9.398 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003134/0.7116, allocations: 409.5 kB / 0.7148 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.7117, allocations: 8 kB / 0.7148 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/0.7117, allocations: 16 kB / 0.7148 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009651/0.7127, allocations: 255.6 kB / 0.715 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.7127, allocations: 23.88 kB / 0.715 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.7141, allocations: 136.4 kB / 0.7152 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.221e-05/0.7142, allocations: 51.98 kB / 0.7152 GB, free: 8.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.7142, allocations: 4 kB / 0.7152 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002207/0.7164, allocations: 1.11 MB / 0.7163 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.7164, allocations: 12 kB / 0.7163 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.7165, allocations: 12 kB / 0.7163 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/0.7173, allocations: 260.2 kB / 0.7166 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.7174, allocations: 19.94 kB / 0.7166 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.7186, allocations: 140.4 kB / 0.7167 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/0.7187, allocations: 47.98 kB / 0.7168 GB, free: 6.766 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (122): * Single equations (assignments): 120 * 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.0008912/0.7196, allocations: 492.7 kB / 0.7172 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/0.7198, allocations: 165.9 kB / 0.7174 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.7223, allocations: 1.099 MB / 0.7185 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.7223, allocations: 12 kB / 0.7185 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7223, allocations: 0 / 0.7185 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00188/0.7242, allocations: 0.8199 MB / 0.7193 GB, free: 4.152 MB / 0.545 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.00485/0.7291, allocations: 2.712 MB / 0.7219 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.7291, allocations: 0 / 0.7219 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007648/0.7299, allocations: 164 kB / 0.7221 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.7301, allocations: 28.84 kB / 0.7221 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.708e-05/0.7302, allocations: 23.98 kB / 0.7221 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.7312, allocations: 1.319 MB / 0.7234 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.7313, allocations: 7.938 kB / 0.7234 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003272/0.7345, allocations: 1.627 MB / 0.725 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007434/0.7353, allocations: 362.6 kB / 0.7254 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.7355, allocations: 23.94 kB / 0.7254 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.7366, allocations: 115.2 kB / 0.7255 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.7367, allocations: 68.41 kB / 0.7256 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-05/0.7368, allocations: 35.98 kB / 0.7256 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001535/0.7383, allocations: 1.05 MB / 0.7266 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7383, allocations: 0 / 0.7266 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002767/0.7411, allocations: 0.947 MB / 0.7276 GB, free: 11.38 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/0.7424, allocations: 0.5031 MB / 0.728 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003385/0.7458, allocations: 1.636 MB / 0.7296 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7458, allocations: 4 kB / 0.7297 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.747, allocations: 0.5649 MB / 0.7302 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004374/0.7514, allocations: 0.8446 MB / 0.731 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006612/0.7581, allocations: 3.989 MB / 0.7349 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.7591, allocations: 1.388 MB / 0.7363 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.7596, allocations: 147.4 kB / 0.7364 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of SimCode: time 2.194e-06/0.7596, allocations: 0 / 0.7364 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of Templates: time 0.05822/0.8178, allocations: 34.49 MB / 0.7701 GB, free: 15.98 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_u.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.WaterHeater_uCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_uCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.HeatExchangers.Examples.WaterHeater_uCalcHelperMain.o] Error 1