Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, 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.00201/0.00201, allocations: 175.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.606/1.606, allocations: 223.3 MB / 240.6 MB, free: 5.418 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.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 8 kB / 0.5076 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2131, allocations: 82.31 MB / 0.588 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6716/0.8848, allocations: 176.3 MB / 0.7602 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009854/0.8947, allocations: 4.886 MB / 0.7649 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.8965, allocations: 39.69 kB / 0.765 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.8987, allocations: 0.6179 MB / 0.7656 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006435/0.9051, allocations: 1.89 MB / 0.7674 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.9082, allocations: 0.8941 MB / 0.7683 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004742/0.9129, allocations: 3.011 MB / 0.7712 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.9147, allocations: 0.7311 MB / 0.772 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.9173, allocations: 0.9843 MB / 0.7729 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.9191, allocations: 0.9224 MB / 0.7738 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.9192, allocations: 48 kB / 0.7739 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.9223, allocations: 0.9275 MB / 0.7748 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005692/0.9229, allocations: 406.7 kB / 0.7752 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005008/0.9234, allocations: 263 kB / 0.7754 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.9256, allocations: 1.356 MB / 0.7767 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9257, allocations: 0 / 0.7767 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.088e-06/0.9257, allocations: 4 kB / 0.7767 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.268e-05/0.9257, allocations: 3.938 kB / 0.7767 GB, free: 11.81 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004497/0.9302, allocations: 1.685 MB / 0.7784 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.9303, allocations: 12.03 kB / 0.7784 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/0.9342, allocations: 0.7512 MB / 0.7791 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.9358, allocations: 0.8406 MB / 0.7799 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.804e-05/0.9359, allocations: 73.98 kB / 0.78 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.9361, allocations: 88 kB / 0.7801 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/0.9392, allocations: 1.473 MB / 0.7815 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.9392, allocations: 3.938 kB / 0.7815 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.9394, allocations: 47.91 kB / 0.7816 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.879e-05/0.9394, allocations: 49.98 kB / 0.7816 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003848/0.9433, allocations: 1.573 MB / 0.7832 GB, free: 5.043 MB / 0.5919 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.007279/0.9506, allocations: 5.047 MB / 0.7881 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.9537, allocations: 1.233 MB / 0.7893 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.9553, allocations: 0.6702 MB / 0.79 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.9566, allocations: 0.9527 MB / 0.7909 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/0.9583, allocations: 0.7342 MB / 0.7916 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 3.727e-06/0.9583, allocations: 0 / 0.7916 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005556/0.9639, allocations: 1.987 MB / 0.7936 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.9639, allocations: 60.06 kB / 0.7936 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.9655, allocations: 1.255 MB / 0.7948 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.92e-05/0.9656, allocations: 45.7 kB / 0.7949 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004713/0.9661, allocations: 0.5755 MB / 0.7954 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.9664, allocations: 284 kB / 0.7957 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.9665, allocations: 23.94 kB / 0.7957 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.9666, allocations: 341.9 kB / 0.7961 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.9682, allocations: 0.5522 MB / 0.7966 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.9699, allocations: 0.8286 MB / 0.7974 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.9714, allocations: 0.6158 MB / 0.798 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.9715, allocations: 0 / 0.798 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003894/0.9754, allocations: 1.534 MB / 0.7995 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/0.9754, allocations: 10.19 kB / 0.7995 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.9755, allocations: 8 kB / 0.7995 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.123e-05/0.9755, allocations: 12 kB / 0.7995 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.9769, allocations: 299.4 kB / 0.7998 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/0.977, allocations: 15.94 kB / 0.7998 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.9785, allocations: 233.3 kB / 0.8001 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.9787, allocations: 51.97 kB / 0.8001 GB, free: 3.102 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006325/0.9793, allocations: 336.2 kB / 0.8004 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.9795, allocations: 138.3 kB / 0.8006 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/0.9832, allocations: 1.46 MB / 0.802 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.9832, allocations: 16 kB / 0.802 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.9832, allocations: 0 / 0.802 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.9832, allocations: 3.984 kB / 0.802 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005914/0.9891, allocations: 2.876 MB / 0.8048 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.9892, allocations: 4.5 kB / 0.8048 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.9904, allocations: 239.5 kB / 0.805 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/0.9904, allocations: 8 kB / 0.8051 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.9905, allocations: 31.97 kB / 0.8051 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/0.9905, allocations: 8 kB / 0.8051 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.9905, allocations: 7.938 kB / 0.8051 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005329/0.9959, allocations: 2.33 MB / 0.8074 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006945/0.9966, allocations: 319.1 kB / 0.8077 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.9968, allocations: 27.98 kB / 0.8077 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.9978, allocations: 123.9 kB / 0.8078 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.998, allocations: 72.38 kB / 0.8079 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.354e-05/0.9981, allocations: 39.53 kB / 0.8079 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001196/0.9993, allocations: 0.8606 MB / 0.8088 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9993, allocations: 0 / 0.8088 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00117/1, allocations: 319.7 kB / 0.8091 GB, free: 9.715 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001337/1.002, allocations: 0.5264 MB / 0.8096 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003508/1.005, allocations: 1.32 MB / 0.8109 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.005, allocations: 8.25 kB / 0.8109 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001677/1.007, allocations: 0.6636 MB / 0.8115 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/1.01, allocations: 0.6041 MB / 0.8121 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/1.015, allocations: 3.003 MB / 0.8151 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/1.016, allocations: 1.17 MB / 0.8162 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/1.016, allocations: 127.4 kB / 0.8163 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of SimCode: time 1.713e-06/1.016, allocations: 0 / 0.8163 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of Templates: time 0.03262/1.049, allocations: 20.71 MB / 0.8365 GB, free: 13.82 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.PrescribedOutlet_TSetOnlyCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnlyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnlyCalcHelperMain.o] Error 1