Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 104.1 kB / 15.88 MB, free: 4 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.001209/0.00121, allocations: 192.5 kB / 16.79 MB, free: 6.832 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: 222.9 MB / 240.4 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7081/0.7081, allocations: 132.2 MB / 422.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 60.5 kB / 0.5017 GB, free: 4.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4795, allocations: 80.2 MB / 0.58 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2025/0.6821, allocations: 191.6 MB / 0.7672 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01084/0.693, allocations: 6.978 MB / 0.774 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.6951, allocations: 43.69 kB / 0.774 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.697, allocations: 0.5593 MB / 0.7746 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006087/0.7031, allocations: 2.179 MB / 0.7767 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00347/0.7066, allocations: 1.292 MB / 0.778 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005427/0.7121, allocations: 3.74 MB / 0.7816 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.7141, allocations: 0.7854 MB / 0.7824 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.717, allocations: 0.9764 MB / 0.7833 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.7197, allocations: 0.8052 MB / 0.7841 GB, free: 112 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.7199, allocations: 48 kB / 0.7842 GB, free: 64 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004243/0.7241, allocations: 2.221 MB / 0.7863 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003547/0.7245, allocations: 322.8 kB / 0.7867 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000638/0.7252, allocations: 0.5361 MB / 0.7872 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.7273, allocations: 1.766 MB / 0.7889 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.7273, allocations: 0 / 0.7889 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7273, allocations: 0 / 0.7889 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.7273, allocations: 0 / 0.7889 GB, free: 11.21 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003252/0.7306, allocations: 1.633 MB / 0.7905 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.7306, allocations: 8.031 kB / 0.7905 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/0.7335, allocations: 0.5332 MB / 0.791 GB, free: 8.969 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.7355, allocations: 0.9829 MB / 0.792 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001094/0.7366, allocations: 281 kB / 0.7923 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.7368, allocations: 75.92 kB / 0.7923 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.7391, allocations: 1.128 MB / 0.7934 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.7392, allocations: 0 / 0.7934 GB, free: 6.438 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/0.7393, allocations: 31.98 kB / 0.7935 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.7393, allocations: 29.31 kB / 0.7935 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/0.7422, allocations: 1.203 MB / 0.7947 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/0.7479, allocations: 3.209 MB / 0.7978 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.7496, allocations: 0.688 MB / 0.7985 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007427/0.7503, allocations: 426.1 kB / 0.7989 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008498/0.7512, allocations: 1.025 MB / 0.7999 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009568/0.7521, allocations: 0.5104 MB / 0.8004 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.394e-06/0.7521, allocations: 0 / 0.8004 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.00293/0.7551, allocations: 1.228 MB / 0.8016 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.7552, allocations: 136.9 kB / 0.8017 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.7572, allocations: 1.2 MB / 0.8029 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.115e-05/0.7573, allocations: 45.64 kB / 0.8029 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.7577, allocations: 437.4 kB / 0.8033 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.7578, allocations: 185.3 kB / 0.8035 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.7581, allocations: 150 kB / 0.8037 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7583, allocations: 334 kB / 0.804 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.7594, allocations: 448.9 kB / 0.8044 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.7608, allocations: 0.6171 MB / 0.805 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001952/0.7627, allocations: 0.95 MB / 0.8059 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.7627, allocations: 0 / 0.8059 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002984/0.7657, allocations: 1.232 MB / 0.8071 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.7658, allocations: 37.69 kB / 0.8072 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.7658, allocations: 7.938 kB / 0.8072 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.7658, allocations: 8 kB / 0.8072 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009294/0.7668, allocations: 196 kB / 0.8074 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.7668, allocations: 15.92 kB / 0.8074 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.7684, allocations: 269.9 kB / 0.8076 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/0.7685, allocations: 39.97 kB / 0.8077 GB, free: 7.305 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * 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.0005964/0.7691, allocations: 329.3 kB / 0.808 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.7693, allocations: 118.6 kB / 0.8081 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.7714, allocations: 0.9929 MB / 0.8091 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.7714, allocations: 15.92 kB / 0.8091 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.7714, allocations: 0 / 0.8091 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.7714, allocations: 4 kB / 0.8091 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.7759, allocations: 3.155 MB / 0.8122 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.776, allocations: 4 kB / 0.8122 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.7765, allocations: 128 kB / 0.8123 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.549e-05/0.7766, allocations: 12 kB / 0.8123 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/0.7766, allocations: 23.98 kB / 0.8123 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.7766, allocations: 12 kB / 0.8124 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-05/0.7767, allocations: 11.94 kB / 0.8124 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.7789, allocations: 1.345 MB / 0.8137 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.7794, allocations: 327.4 kB / 0.814 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.7796, allocations: 23.98 kB / 0.814 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.7807, allocations: 107.9 kB / 0.8141 GB, free: 408 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.7808, allocations: 63.7 kB / 0.8142 GB, free: 344 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/0.7809, allocations: 43.97 kB / 0.8142 GB, free: 300 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.3377/1.119, allocations: 0.8637 MB / 0.8151 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.32e-07/1.119, allocations: 0 / 0.8151 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001489/1.12, allocations: 302.5 kB / 0.8154 GB, free: 219.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007541/1.121, allocations: 345.7 kB / 0.8157 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002505/1.123, allocations: 1.02 MB / 0.8167 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.123, allocations: 1.469 kB / 0.8167 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009201/1.124, allocations: 0.5162 MB / 0.8172 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/1.127, allocations: 0.5383 MB / 0.8177 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/1.131, allocations: 2.382 MB / 0.82 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006631/1.132, allocations: 1.061 MB / 0.8211 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/1.132, allocations: 95.58 kB / 0.8212 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.112e-06/1.132, allocations: 0 / 0.8212 GB, free: 216.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.02925/1.161, allocations: 18.73 MB / 0.8394 GB, free: 209.4 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o] Error 1