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.0007794/0.0007795, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008588/0.0008589, allocations: 187.8 kB / 16.92 MB, free: 6.773 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.301/1.301, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7104/0.7104, allocations: 132.3 MB / 424.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 8 kB / 0.5046 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4926, allocations: 81.57 MB / 0.5843 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2104/0.703, allocations: 189.1 MB / 0.769 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.7155, allocations: 6.924 MB / 0.7757 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.7171, allocations: 35.75 kB / 0.7758 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.7187, allocations: 0.5632 MB / 0.7763 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005845/0.7246, allocations: 2.175 MB / 0.7784 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.7279, allocations: 1.288 MB / 0.7797 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004852/0.7327, allocations: 3.735 MB / 0.7833 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.7342, allocations: 0.7755 MB / 0.7841 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.7361, allocations: 0.953 MB / 0.785 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.7377, allocations: 0.7909 MB / 0.7858 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.7379, allocations: 40 kB / 0.7858 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004028/0.7419, allocations: 2.225 MB / 0.788 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003677/0.7423, allocations: 302.9 kB / 0.7883 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006642/0.743, allocations: 0.5534 MB / 0.7888 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.7453, allocations: 1.742 MB / 0.7905 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7453, allocations: 0 / 0.7905 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7453, allocations: 0 / 0.7905 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.7453, allocations: 0 / 0.7905 GB, free: 12.55 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.002999/0.7483, allocations: 1.395 MB / 0.7919 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.7484, allocations: 12.03 kB / 0.7919 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.7512, allocations: 0.5996 MB / 0.7925 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.7532, allocations: 0.9869 MB / 0.7935 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001149/0.7544, allocations: 321 kB / 0.7938 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.7545, allocations: 75.94 kB / 0.7938 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.7569, allocations: 1.148 MB / 0.795 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.757, allocations: 3.938 kB / 0.795 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/0.7571, allocations: 32 kB / 0.795 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/0.7571, allocations: 25.31 kB / 0.795 GB, free: 7.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003062/0.7602, allocations: 1.254 MB / 0.7962 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005516/0.7657, allocations: 3.252 MB / 0.7994 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.7673, allocations: 0.7036 MB / 0.8001 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007604/0.7681, allocations: 434.2 kB / 0.8005 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008611/0.769, allocations: 1.025 MB / 0.8015 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009773/0.7699, allocations: 0.5182 MB / 0.802 GB, free: 316 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=57): time 2.275e-06/0.77, allocations: 0 / 0.802 GB, free: 316 kB / 0.6231 GB Notification: Performance of matching and sorting (n=57): time 0.002808/0.7728, allocations: 1.248 MB / 0.8033 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.7729, allocations: 140.9 kB / 0.8034 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.7748, allocations: 1.219 MB / 0.8046 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/0.7749, allocations: 45.64 kB / 0.8046 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.7752, allocations: 437.4 kB / 0.805 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.7754, allocations: 193.2 kB / 0.8052 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.7755, allocations: 57.69 kB / 0.8053 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7756, allocations: 326 kB / 0.8056 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.7769, allocations: 488.9 kB / 0.8061 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.7783, allocations: 0.6406 MB / 0.8067 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/0.7804, allocations: 0.9731 MB / 0.8076 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.7804, allocations: 4 kB / 0.8076 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003294/0.7837, allocations: 1.283 MB / 0.8089 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.7838, allocations: 41.69 kB / 0.8089 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.7838, allocations: 8.219 kB / 0.8089 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.7838, allocations: 12 kB / 0.8089 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009335/0.7848, allocations: 207.7 kB / 0.8091 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.7848, allocations: 11.98 kB / 0.8092 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.7865, allocations: 298.7 kB / 0.8094 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.555e-05/0.7866, allocations: 35.97 kB / 0.8095 GB, free: 8.492 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.0006173/0.7872, allocations: 339.7 kB / 0.8098 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.7874, allocations: 114.6 kB / 0.8099 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.7895, allocations: 1.007 MB / 0.8109 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.7895, allocations: 11.98 kB / 0.8109 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.7896, allocations: 0.5156 kB / 0.8109 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.7896, allocations: 4 kB / 0.8109 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004731/0.7943, allocations: 3.175 MB / 0.814 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.7943, allocations: 8.031 kB / 0.814 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.7949, allocations: 131.8 kB / 0.8141 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.795, allocations: 12 kB / 0.8142 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.795, allocations: 23.98 kB / 0.8142 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.497e-05/0.795, allocations: 19.94 kB / 0.8142 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.7951, allocations: 11.94 kB / 0.8142 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.7973, allocations: 1.353 MB / 0.8155 GB, free: 2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.7978, allocations: 327.4 kB / 0.8158 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.7979, allocations: 27.92 kB / 0.8159 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.7991, allocations: 131.9 kB / 0.816 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.7992, allocations: 63.62 kB / 0.8161 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.336e-05/0.7993, allocations: 43.95 kB / 0.8161 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001551/0.8008, allocations: 0.8911 MB / 0.817 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8008, allocations: 0 / 0.817 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001052/0.8019, allocations: 299.8 kB / 0.8172 GB, free: 212 kB / 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.2726/1.074, allocations: 332 kB / 0.8176 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00317/1.078, allocations: 1.045 MB / 0.8186 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.078, allocations: 1.188 kB / 0.8186 GB, free: 219.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009664/1.079, allocations: 0.5247 MB / 0.8191 GB, free: 219.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/1.083, allocations: 0.5455 MB / 0.8196 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/1.086, allocations: 2.414 MB / 0.822 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/1.087, allocations: 1.064 MB / 0.823 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/1.087, allocations: 92.53 kB / 0.8231 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/1.088, allocations: 0 / 0.8231 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.0372/1.125, allocations: 18.56 MB / 0.8412 GB, free: 209.8 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