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.00087/0.00087, allocations: 97.78 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.001422/0.001422, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.492/1.492, allocations: 223.2 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1978/0.1978, allocations: 2.799 MB / 294.9 MB, free: 4.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004192, allocations: 8 kB / 356.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 51.25 MB / 408.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesDynamic): time 0.0101/0.1374, allocations: 7.928 MB / 416 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2914/0.4288, allocations: 9.261 MB / 425.3 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.4291, allocations: 0 / 425.3 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000526/0.4296, allocations: 144.2 kB / 425.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.43, allocations: 96.69 kB / 425.5 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005336/0.4354, allocations: 1.331 MB / 426.9 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.4359, allocations: 303.2 kB / 427.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.067e-05/0.436, allocations: 19.5 kB / 427.2 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004821/0.4408, allocations: 118.1 kB / 427.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.4411, allocations: 88.45 kB / 427.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.4412, allocations: 6.344 kB / 427.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.4436, allocations: 0.4911 MB / 427.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.242e-05/0.4437, allocations: 25.62 kB / 427.9 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.4438, allocations: 113.2 kB / 428 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.4444, allocations: 356.9 kB / 428.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4445, allocations: 6.812 kB / 428.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.4445, allocations: 0 / 428.4 MB, free: 34.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.4445, allocations: 0 / 428.4 MB, free: 34.03 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.0008008/0.4453, allocations: 0.5316 MB / 428.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4453, allocations: 6.688 kB / 428.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/0.4457, allocations: 60.77 kB / 429 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.4459, allocations: 209.7 kB / 429.2 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.4459, allocations: 10 kB / 429.2 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.4459, allocations: 10.84 kB / 429.2 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.4464, allocations: 249 kB / 429.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4465, allocations: 3.938 kB / 429.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.4465, allocations: 7.125 kB / 429.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.4465, allocations: 10.09 kB / 429.5 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004555/0.447, allocations: 206.8 kB / 429.7 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/0.4477, allocations: 0.687 MB / 430.4 MB, free: 32.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.4483, allocations: 245.3 kB / 430.6 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.4485, allocations: 161.1 kB / 430.8 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.4488, allocations: 330.2 kB / 431.1 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.4488, allocations: 36 kB / 431.1 MB, free: 32.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.533e-06/0.4488, allocations: 0 / 431.1 MB, free: 32.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.002698/0.4515, allocations: 1.248 MB / 432.4 MB, free: 32.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.4516, allocations: 54.91 kB / 432.4 MB, free: 32.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.4517, allocations: 126.8 kB / 432.5 MB, free: 31.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4517, allocations: 29.08 kB / 432.6 MB, free: 31.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.4518, allocations: 107 kB / 432.7 MB, free: 31.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.4519, allocations: 152.1 kB / 432.8 MB, free: 31.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.4519, allocations: 39.05 kB / 432.9 MB, free: 31.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.452, allocations: 329.4 kB / 433.2 MB, free: 31.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.4522, allocations: 131.7 kB / 433.3 MB, free: 31.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.4525, allocations: 190.5 kB / 433.5 MB, free: 31.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/0.453, allocations: 350.2 kB / 433.8 MB, free: 31.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.453, allocations: 0 / 433.8 MB, free: 31.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001093/0.4541, allocations: 0.5036 MB / 434.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4541, allocations: 6.219 kB / 434.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.4542, allocations: 3.625 kB / 434.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000782/0.4549, allocations: 166.5 kB / 434.5 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.4551, allocations: 32.84 kB / 434.5 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005518/0.4556, allocations: 0.6764 MB / 435.2 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.4558, allocations: 13.53 kB / 435.2 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.4558, allocations: 9.641 kB / 435.2 MB, free: 30.68 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.0001183/0.456, allocations: 140.8 kB / 435.4 MB, free: 30.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.456, allocations: 14.41 kB / 435.4 MB, free: 30.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009976/0.457, allocations: 0.7315 MB / 436.1 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.457, allocations: 10.42 kB / 436.1 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.457, allocations: 0 / 436.1 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4571, allocations: 0 / 436.1 MB, free: 30.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.4575, allocations: 391.8 kB / 436.5 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4575, allocations: 0 / 436.5 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.4577, allocations: 50 kB / 436.6 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.458, allocations: 94.16 kB / 436.7 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4581, allocations: 3.875 kB / 436.7 MB, free: 30.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.4593, allocations: 2.592 MB / 439.3 MB, free: 27.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4594, allocations: 0 / 439.3 MB, free: 27.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.4604, allocations: 0.8536 MB / 440.1 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.4605, allocations: 91.23 kB / 440.2 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.4605, allocations: 11.55 kB / 440.2 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.4607, allocations: 6.719 kB / 440.2 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.4607, allocations: 23.98 kB / 440.2 MB, free: 27.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.4608, allocations: 3.344 kB / 440.2 MB, free: 27.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.955e-05/0.4608, allocations: 94.23 kB / 440.3 MB, free: 27.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4608, allocations: 0 / 440.3 MB, free: 27.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000372/0.4612, allocations: 62.97 kB / 440.4 MB, free: 27.31 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.0003942/0.4616, allocations: 192.7 kB / 440.6 MB, free: 27.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007776/0.4624, allocations: 372.8 kB / 440.9 MB, free: 27.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4624, allocations: 0 / 440.9 MB, free: 27.19 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.463, allocations: 324.2 kB / 441.3 MB, free: 27.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/0.4636, allocations: 95.03 kB / 441.4 MB, free: 27.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4647, allocations: 0.8773 MB / 442.2 MB, free: 26.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.4649, allocations: 0.7321 MB / 443 MB, free: 25.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.53e-05/0.4649, allocations: 20.7 kB / 443 MB, free: 25.91 MB / 350.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4649, allocations: 0 / 443 MB, free: 25.91 MB / 350.1 MB Notification: Performance of Templates: time 0.005634/0.4706, allocations: 3.726 MB / 446.7 MB, free: 25.62 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