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.001067/0.001067, 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.001005/0.001005, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.535/1.535, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.2241/0.2241, allocations: 2.779 MB / 294.5 MB, free: 4.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 8 kB / 356.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 51.24 MB / 407.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.009086/0.1426, allocations: 7.571 MB / 415.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008331/0.151, allocations: 8.674 MB / 423.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.1513, allocations: 0 / 423.7 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007076/0.152, allocations: 143.2 kB / 423.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005124/0.1525, allocations: 87.41 kB / 424 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2812/0.4338, allocations: 1.257 MB / 425.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.4348, allocations: 269 kB / 425.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.435, allocations: 10.81 kB / 425.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00701/0.442, allocations: 114.7 kB / 425.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005036/0.4426, allocations: 84.09 kB / 425.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.274e-05/0.4427, allocations: 4.938 kB / 425.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/0.4464, allocations: 485.9 kB / 426.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.4466, allocations: 31.48 kB / 426.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.4468, allocations: 57.95 kB / 426.2 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.4482, allocations: 364.1 kB / 426.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4483, allocations: 0 / 426.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4483, allocations: 0 / 426.6 MB, free: 35.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.4483, allocations: 0 / 426.6 MB, free: 35.49 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.001435/0.4497, allocations: 0.5287 MB / 427.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.699e-05/0.4498, allocations: 13.91 kB / 427.1 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005023/0.4503, allocations: 54.27 kB / 427.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.4507, allocations: 210.2 kB / 427.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.4508, allocations: 6.469 kB / 427.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.4509, allocations: 12.22 kB / 427.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007725/0.4516, allocations: 252.3 kB / 427.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.4517, allocations: 0 / 427.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.4517, allocations: 3.25 kB / 427.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/0.4517, allocations: 13.78 kB / 427.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006087/0.4523, allocations: 213.6 kB / 427.9 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.4536, allocations: 0.6687 MB / 428.6 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007913/0.4544, allocations: 252.4 kB / 428.8 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.4547, allocations: 154.8 kB / 429 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003996/0.4551, allocations: 332.6 kB / 429.3 MB, free: 34.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.4552, allocations: 44.64 kB / 429.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 3.126e-06/0.4552, allocations: 2.844 kB / 429.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002949/0.4581, allocations: 1.254 MB / 430.6 MB, free: 33.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4582, allocations: 54.91 kB / 430.6 MB, free: 33.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.4583, allocations: 121.5 kB / 430.8 MB, free: 33.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4583, allocations: 32.23 kB / 430.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.4584, allocations: 95.7 kB / 430.9 MB, free: 33.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.791e-05/0.4585, allocations: 159.1 kB / 431 MB, free: 33.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.4585, allocations: 3.125 kB / 431 MB, free: 33.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.4586, allocations: 331.1 kB / 431.4 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.4589, allocations: 135.2 kB / 431.5 MB, free: 32.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.4592, allocations: 186.3 kB / 431.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.4596, allocations: 159 kB / 431.8 MB, free: 32.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.4596, allocations: 3.25 kB / 431.8 MB, free: 32.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009635/0.4605, allocations: 487.2 kB / 432.3 MB, free: 32.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4606, allocations: 6.594 kB / 432.3 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4606, allocations: 3.25 kB / 432.3 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007319/0.4613, allocations: 160 kB / 432.5 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.4615, allocations: 38.83 kB / 432.5 MB, free: 32.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005517/0.462, allocations: 0.6716 MB / 433.2 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.4622, allocations: 9.844 kB / 433.2 MB, free: 32.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.4622, allocations: 16.02 kB / 433.2 MB, free: 32.26 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.state.phase,medium.phaseOutput,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.4624, allocations: 126.1 kB / 433.3 MB, free: 32.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.4624, allocations: 17.81 kB / 433.3 MB, free: 32.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.4635, allocations: 0.7347 MB / 434.1 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.4635, allocations: 10.89 kB / 434.1 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4636, allocations: 0 / 434.1 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.4636, allocations: 2.734 kB / 434.1 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.4639, allocations: 388.8 kB / 434.5 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.464, allocations: 3.938 kB / 434.5 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.4642, allocations: 45.86 kB / 434.5 MB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/0.4645, allocations: 95.66 kB / 434.6 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.4645, allocations: 4.344 kB / 434.6 MB, free: 31.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.466, allocations: 2.59 MB / 437.2 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4661, allocations: 0 / 437.2 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.4674, allocations: 0.848 MB / 438.1 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.4674, allocations: 91.72 kB / 438.1 MB, free: 29.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.4674, allocations: 10.06 kB / 438.2 MB, free: 29.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.4676, allocations: 9.812 kB / 438.2 MB, free: 29.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.4677, allocations: 27.61 kB / 438.2 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.4677, allocations: 6.531 kB / 438.2 MB, free: 29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.739e-05/0.4678, allocations: 98.2 kB / 438.3 MB, free: 28.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4678, allocations: 0 / 438.3 MB, free: 28.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.4682, allocations: 63.56 kB / 438.4 MB, free: 28.93 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000425/0.4686, allocations: 172.4 kB / 438.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007854/0.4694, allocations: 381.2 kB / 438.9 MB, free: 28.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4694, allocations: 0 / 438.9 MB, free: 28.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005683/0.47, allocations: 314.1 kB / 439.2 MB, free: 28.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/0.4706, allocations: 101.2 kB / 439.3 MB, free: 28.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4718, allocations: 0.8603 MB / 440.2 MB, free: 28.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.472, allocations: 0.738 MB / 440.9 MB, free: 27.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.4721, allocations: 16.97 kB / 440.9 MB, free: 27.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4721, allocations: 0 / 440.9 MB, free: 27.57 MB / 350.1 MB Notification: Performance of Templates: time 0.006338/0.4784, allocations: 3.723 MB / 444.6 MB, free: 27.3 MB / 350.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic.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/ExternalMedia 4.0.0/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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