Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.000921/0.0009212, allocations: 102.8 kB / 15.71 MB, free: 460 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.001204/0.001204, allocations: 170.6 kB / 16.58 MB, free: 6.402 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.539/1.539, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.17/1.17, allocations: 135.3 MB / 427 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003542, allocations: 8 kB / 0.5076 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1905, allocations: 82.31 MB / 0.588 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.63/0.8205, allocations: 176.6 MB / 0.7604 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.8331, allocations: 6.552 MB / 0.7668 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.8355, allocations: 39.69 kB / 0.7669 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.8374, allocations: 468.7 kB / 0.7673 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.8442, allocations: 1.676 MB / 0.769 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003851/0.8481, allocations: 1.084 MB / 0.77 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00486/0.853, allocations: 3.222 MB / 0.7732 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.8543, allocations: 0.6856 MB / 0.7738 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002007/0.8563, allocations: 0.9453 MB / 0.7748 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.8575, allocations: 0.7352 MB / 0.7755 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.8576, allocations: 40 kB / 0.7755 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.8609, allocations: 1.22 MB / 0.7767 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.8613, allocations: 298.9 kB / 0.777 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.8617, allocations: 237.1 kB / 0.7772 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.8638, allocations: 1.613 MB / 0.7788 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.8638, allocations: 0 / 0.7788 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8639, allocations: 4 kB / 0.7788 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.8639, allocations: 4 kB / 0.7788 GB, free: 9.688 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003033/0.8669, allocations: 1.4 MB / 0.7802 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.867, allocations: 8.031 kB / 0.7802 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.8696, allocations: 0.6035 MB / 0.7808 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.8717, allocations: 0.9642 MB / 0.7817 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/0.8727, allocations: 309.1 kB / 0.782 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.8729, allocations: 68 kB / 0.7821 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.8753, allocations: 1.152 MB / 0.7832 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.8753, allocations: 0 / 0.7832 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.8754, allocations: 28 kB / 0.7832 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.625e-05/0.8755, allocations: 33.31 kB / 0.7832 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.8785, allocations: 1.258 MB / 0.7845 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005894/0.8844, allocations: 3.242 MB / 0.7876 GB, free: 428 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.8861, allocations: 0.7036 MB / 0.7883 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.8868, allocations: 422.2 kB / 0.7887 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009665/0.8878, allocations: 1.025 MB / 0.7897 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009908/0.8888, allocations: 0.5222 MB / 0.7902 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.755e-06/0.8888, allocations: 0 / 0.7902 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.003008/0.8918, allocations: 1.24 MB / 0.7914 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.892, allocations: 140.9 kB / 0.7916 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.894, allocations: 1.208 MB / 0.7928 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.8941, allocations: 41.7 kB / 0.7928 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003824/0.8945, allocations: 437.4 kB / 0.7932 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.8947, allocations: 189.3 kB / 0.7934 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.8948, allocations: 12 kB / 0.7934 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.8949, allocations: 333.8 kB / 0.7937 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.8961, allocations: 488.9 kB / 0.7942 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.8974, allocations: 0.6406 MB / 0.7948 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.8987, allocations: 0.5307 MB / 0.7953 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.8987, allocations: 0 / 0.7953 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003038/0.9017, allocations: 1.279 MB / 0.7966 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/0.9018, allocations: 41.69 kB / 0.7966 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.9018, allocations: 0 / 0.7966 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.9018, allocations: 8 kB / 0.7966 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/0.9028, allocations: 219.9 kB / 0.7968 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.9028, allocations: 8 kB / 0.7969 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.9044, allocations: 302.8 kB / 0.7971 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/0.9045, allocations: 39.97 kB / 0.7972 GB, free: 6.246 MB / 0.6075 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.0005801/0.905, allocations: 327.2 kB / 0.7975 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.9052, allocations: 118.6 kB / 0.7976 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.9073, allocations: 1.005 MB / 0.7986 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.9073, allocations: 12 kB / 0.7986 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.9073, allocations: 0 / 0.7986 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.9073, allocations: 7.984 kB / 0.7986 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004614/0.9119, allocations: 3.179 MB / 0.8017 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.912, allocations: 8 kB / 0.8017 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/0.9126, allocations: 124.1 kB / 0.8018 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/0.9126, allocations: 12 kB / 0.8018 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.571e-05/0.9127, allocations: 27.98 kB / 0.8019 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.541e-05/0.9127, allocations: 15.92 kB / 0.8019 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.346e-05/0.9127, allocations: 19.88 kB / 0.8019 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.9148, allocations: 1.358 MB / 0.8032 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005279/0.9154, allocations: 335.3 kB / 0.8036 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.9155, allocations: 20 kB / 0.8036 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.9166, allocations: 123.9 kB / 0.8037 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.9167, allocations: 59.8 kB / 0.8037 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.848e-05/0.9168, allocations: 43.91 kB / 0.8038 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001575/0.9184, allocations: 0.8794 MB / 0.8046 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9184, allocations: 4 kB / 0.8047 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001208/0.9196, allocations: 287.9 kB / 0.8049 GB, free: 13.99 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.0008234/0.9204, allocations: 343.9 kB / 0.8053 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002303/0.9227, allocations: 1.041 MB / 0.8063 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.9228, allocations: 0 / 0.8063 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008857/0.9237, allocations: 0.5242 MB / 0.8068 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.9263, allocations: 0.542 MB / 0.8073 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/0.9302, allocations: 2.332 MB / 0.8096 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/0.9309, allocations: 1.062 MB / 0.8106 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/0.9312, allocations: 87.41 kB / 0.8107 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of SimCode: time 2.435e-06/0.9312, allocations: 0 / 0.8107 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of Templates: time 0.03116/0.9624, allocations: 18.58 MB / 0.8289 GB, free: 5.477 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o] Error 1