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.0008655/0.0008656, 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.0009128/0.0009131, allocations: 178.8 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.459/1.459, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7413/0.7413, allocations: 132.3 MB / 424 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003625, allocations: 8.781 kB / 0.504 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5843/0.5847, allocations: 81.57 MB / 0.5837 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2299/0.8146, allocations: 176.6 MB / 0.7561 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.8253, allocations: 6.552 MB / 0.7625 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.8272, allocations: 39.69 kB / 0.7626 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.8291, allocations: 480.8 kB / 0.763 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005614/0.8347, allocations: 1.679 MB / 0.7647 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003189/0.8379, allocations: 1.073 MB / 0.7657 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004254/0.8421, allocations: 3.211 MB / 0.7688 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.8434, allocations: 0.697 MB / 0.7695 GB, free: 1.805 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001886/0.8453, allocations: 0.9414 MB / 0.7704 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.8464, allocations: 0.7391 MB / 0.7712 GB, free: 120 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.8465, allocations: 40 kB / 0.7712 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.8497, allocations: 1.22 MB / 0.7724 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.8501, allocations: 302.9 kB / 0.7727 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003465/0.8504, allocations: 237.1 kB / 0.7729 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.8525, allocations: 1.609 MB / 0.7745 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8525, allocations: 0 / 0.7745 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8525, allocations: 4 kB / 0.7745 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.8525, allocations: 0 / 0.7745 GB, free: 12.7 MB / 0.6075 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.002959/0.8555, allocations: 1.407 MB / 0.7759 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.8555, allocations: 8.031 kB / 0.7759 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/0.8582, allocations: 0.5996 MB / 0.7765 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/0.8602, allocations: 0.9676 MB / 0.7774 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/0.8612, allocations: 313 kB / 0.7777 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.8613, allocations: 72 kB / 0.7778 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.8637, allocations: 1.144 MB / 0.7789 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.8637, allocations: 4 kB / 0.7789 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.8638, allocations: 24 kB / 0.7789 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.8639, allocations: 37.25 kB / 0.7789 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.8669, allocations: 1.243 MB / 0.7802 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005557/0.8724, allocations: 3.248 MB / 0.7833 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.874, allocations: 0.7037 MB / 0.784 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007579/0.8748, allocations: 430.1 kB / 0.7844 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009256/0.8757, allocations: 1.021 MB / 0.7854 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000961/0.8767, allocations: 0.5182 MB / 0.7859 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.184e-06/0.8767, allocations: 0 / 0.7859 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.00281/0.8795, allocations: 1.236 MB / 0.7871 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.933e-05/0.8796, allocations: 144.8 kB / 0.7873 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.8815, allocations: 1.215 MB / 0.7885 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/0.8816, allocations: 37.7 kB / 0.7885 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.882, allocations: 445.3 kB / 0.7889 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.8822, allocations: 189.3 kB / 0.7891 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.8823, allocations: 8 kB / 0.7891 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.8824, allocations: 341.8 kB / 0.7894 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.8836, allocations: 480.9 kB / 0.7899 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.885, allocations: 0.6406 MB / 0.7905 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.8863, allocations: 0.5311 MB / 0.791 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8863, allocations: 0 / 0.791 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002863/0.8891, allocations: 1.291 MB / 0.7923 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.8892, allocations: 37.7 kB / 0.7923 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.8892, allocations: 11.98 kB / 0.7924 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.8892, allocations: 8 kB / 0.7924 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009112/0.8902, allocations: 212 kB / 0.7926 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.8902, allocations: 4 kB / 0.7926 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.8916, allocations: 302.9 kB / 0.7929 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.302e-05/0.8917, allocations: 35.98 kB / 0.7929 GB, free: 9.254 MB / 0.6231 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005207/0.8922, allocations: 328.8 kB / 0.7932 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.8924, allocations: 122.6 kB / 0.7933 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.8944, allocations: 1.004 MB / 0.7943 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.8945, allocations: 8 kB / 0.7943 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8945, allocations: 0 / 0.7943 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.8945, allocations: 3.984 kB / 0.7943 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.899, allocations: 3.171 MB / 0.7974 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.899, allocations: 8 kB / 0.7974 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005425/0.8996, allocations: 132.2 kB / 0.7975 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/0.8996, allocations: 12 kB / 0.7976 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.111e-05/0.8997, allocations: 20 kB / 0.7976 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/0.8997, allocations: 23.88 kB / 0.7976 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.8997, allocations: 11.94 kB / 0.7976 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.9017, allocations: 1.352 MB / 0.7989 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.9022, allocations: 335.3 kB / 0.7992 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.9024, allocations: 20 kB / 0.7993 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000988/0.9034, allocations: 127.9 kB / 0.7994 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.537e-05/0.9035, allocations: 59.8 kB / 0.7994 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/0.9035, allocations: 39.97 kB / 0.7995 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001459/0.905, allocations: 0.8872 MB / 0.8003 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.905, allocations: 0 / 0.8003 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001019/0.906, allocations: 291.9 kB / 0.8006 GB, free: 1.008 MB / 0.6231 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 (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.0006962/0.9067, allocations: 345 kB / 0.801 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00223/0.909, allocations: 1.049 MB / 0.802 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.909, allocations: 4 kB / 0.802 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008838/0.9099, allocations: 0.5164 MB / 0.8025 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.9124, allocations: 0.5381 MB / 0.803 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.9162, allocations: 2.335 MB / 0.8053 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.917, allocations: 1.065 MB / 0.8063 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003435/0.9173, allocations: 95.39 kB / 0.8064 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.9173, allocations: 0 / 0.8064 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.3265/1.244, allocations: 18.56 MB / 0.8246 GB, free: 210.7 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++ 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.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