Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.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/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.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(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004706/0.004706, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001019, allocations: 190.2 kB / 16.79 MB, free: 5.809 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1789/0.1789, allocations: 2.761 MB / 293.4 MB, free: 3.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 55.92 kB / 354.4 MB, free: 5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1138, allocations: 50.23 MB / 404.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.009186/0.123, allocations: 8.368 MB / 413 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007517/0.1306, allocations: 9.428 MB / 422.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1308, allocations: 4 kB / 422.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.1313, allocations: 135.3 kB / 422.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.1316, allocations: 99.41 kB / 422.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2264/0.358, allocations: 1.329 MB / 423.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007339/0.3587, allocations: 296.6 kB / 424.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3589, allocations: 14.22 kB / 424.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005809/0.3647, allocations: 123.1 kB / 424.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.3651, allocations: 87 kB / 424.5 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.3651, allocations: 5.375 kB / 424.5 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.3676, allocations: 0.4915 MB / 424.9 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.3677, allocations: 29.72 kB / 425 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.3679, allocations: 87.5 kB / 425.1 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007118/0.3686, allocations: 366.6 kB / 425.4 MB, free: 36.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3686, allocations: 0 / 425.4 MB, free: 36.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3686, allocations: 2.625 kB / 425.4 MB, free: 36.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3686, allocations: 0.6875 kB / 425.4 MB, free: 36.65 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009468/0.3696, allocations: 0.546 MB / 426 MB, free: 36.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3696, allocations: 9.062 kB / 426 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.37, allocations: 64.62 kB / 426 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.3702, allocations: 201.5 kB / 426.2 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.3702, allocations: 9.562 kB / 426.2 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.3702, allocations: 12.73 kB / 426.3 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.3707, allocations: 245.3 kB / 426.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.3707, allocations: 7.656 kB / 426.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.3708, allocations: 3.438 kB / 426.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.3708, allocations: 9.938 kB / 426.5 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/0.3712, allocations: 199.6 kB / 426.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.3719, allocations: 0.6839 MB / 427.4 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005582/0.3725, allocations: 244.4 kB / 427.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.3727, allocations: 156.7 kB / 427.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.3729, allocations: 334.5 kB / 428.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.373, allocations: 33.75 kB / 428.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.443e-06/0.373, allocations: 2.625 kB / 428.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002538/0.3755, allocations: 1.225 MB / 429.4 MB, free: 34.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.3756, allocations: 54.56 kB / 429.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.3756, allocations: 124.7 kB / 429.6 MB, free: 34.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3757, allocations: 32.89 kB / 429.6 MB, free: 34.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.3757, allocations: 102.9 kB / 429.7 MB, free: 34.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.3758, allocations: 160.8 kB / 429.8 MB, free: 34.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-05/0.3759, allocations: 57.64 kB / 429.9 MB, free: 34.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.751e-05/0.376, allocations: 328.4 kB / 430.2 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.3762, allocations: 128.7 kB / 430.3 MB, free: 34.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.3764, allocations: 189.8 kB / 430.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.3769, allocations: 345.3 kB / 430.9 MB, free: 33.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3769, allocations: 0 / 430.9 MB, free: 33.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001041/0.3779, allocations: 489.7 kB / 431.3 MB, free: 33.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.378, allocations: 7.531 kB / 431.4 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.378, allocations: 0 / 431.4 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000787/0.3788, allocations: 160.7 kB / 431.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3789, allocations: 31.34 kB / 431.5 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005479/0.3795, allocations: 0.6725 MB / 432.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.3796, allocations: 12.8 kB / 432.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.3797, allocations: 10.94 kB / 432.2 MB, free: 33.36 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (medium.phaseOutput,medium.state.phase,medium.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.3798, allocations: 137.4 kB / 432.4 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.3798, allocations: 23.84 kB / 432.4 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009504/0.3808, allocations: 0.7147 MB / 433.1 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.3808, allocations: 11.84 kB / 433.1 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3808, allocations: 3.656 kB / 433.1 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.3808, allocations: 3.375 kB / 433.1 MB, free: 33.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.3812, allocations: 391.2 kB / 433.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3812, allocations: 0 / 433.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.3814, allocations: 45.44 kB / 433.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/0.3817, allocations: 84.3 kB / 433.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.3817, allocations: 3.938 kB / 433.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.3829, allocations: 2.6 MB / 436.2 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3829, allocations: 0 / 436.2 MB, free: 30.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3839, allocations: 0.8268 MB / 437.1 MB, free: 30.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.384, allocations: 99.45 kB / 437.2 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.384, allocations: 3.875 kB / 437.2 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.3842, allocations: 12.7 kB / 437.2 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.3843, allocations: 23.69 kB / 437.2 MB, free: 30.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.3843, allocations: 3.062 kB / 437.2 MB, free: 30.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.3843, allocations: 92.91 kB / 437.3 MB, free: 30.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3843, allocations: 0 / 437.3 MB, free: 30.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.3847, allocations: 68.31 kB / 437.4 MB, free: 30.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 2 (medium.state.phase,medium.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003535/0.385, allocations: 177.9 kB / 437.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007411/0.3858, allocations: 368.3 kB / 437.9 MB, free: 29.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3858, allocations: 0 / 437.9 MB, free: 29.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000621/0.3864, allocations: 318.4 kB / 438.2 MB, free: 29.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.3871, allocations: 106.1 kB / 438.3 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.3881, allocations: 0.776 MB / 439.1 MB, free: 29.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.3883, allocations: 0.7375 MB / 439.8 MB, free: 28.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.3883, allocations: 22.44 kB / 439.8 MB, free: 28.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3884, allocations: 0 / 439.8 MB, free: 28.67 MB / 350.1 MB Notification: Performance of Templates: time 0.005058/0.3934, allocations: 3.74 MB / 443.6 MB, free: 28.4 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.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/ExternalMedia 4.0.0/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamicCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamicCalcHelperMain.o] Error 1