Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.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.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") translateModel(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 102.6 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.001658/0.001658, allocations: 175.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.569/1.569, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.1714/0.1714, allocations: 2.777 MB / 294.5 MB, free: 4.234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004289, allocations: 8 kB / 356.2 MB, free: 4.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1263, allocations: 51.25 MB / 407.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit): time 0.3642/0.4905, allocations: 89.26 MB / 496.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.06891/0.5595, allocations: 54.46 MB / 0.5383 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002336/0.5619, allocations: 4.625 kB / 0.5383 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004634/0.5666, allocations: 1.224 MB / 0.5395 GB, free: 232 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02814/0.5948, allocations: 6.338 MB / 0.5457 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01053/0.6054, allocations: 2.496 MB / 0.5481 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003494/0.6089, allocations: 1.614 MB / 0.5497 GB, free: 5.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.6093, allocations: 140.5 kB / 0.5498 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006902/0.6162, allocations: 0.6182 MB / 0.5504 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.6174, allocations: 0.5521 MB / 0.551 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.815e-05/0.6175, allocations: 36 kB / 0.551 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02191/0.6394, allocations: 3.736 MB / 0.5546 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004605/0.6399, allocations: 167 kB / 0.5548 GB, free: 0.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009388/0.6408, allocations: 325 kB / 0.5551 GB, free: 436 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007151/0.648, allocations: 2.77 MB / 0.5578 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.648, allocations: 0 / 0.5578 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.648, allocations: 0 / 0.5578 GB, free: 13.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.6481, allocations: 0 / 0.5578 GB, free: 13.64 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 438 * Number of variables: 438 Notification: Performance of Generate backend data structure: time 0.003163/0.6512, allocations: 1.779 MB / 0.5596 GB, free: 11.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.6513, allocations: 12.03 kB / 0.5596 GB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/0.6562, allocations: 1.411 MB / 0.5609 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007554/0.657, allocations: 0.4971 MB / 0.5614 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.065e-05/0.6571, allocations: 82.14 kB / 0.5615 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.6572, allocations: 100 kB / 0.5616 GB, free: 9.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/0.6601, allocations: 1.909 MB / 0.5635 GB, free: 7.703 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.6601, allocations: 7.922 kB / 0.5635 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/0.6602, allocations: 47.94 kB / 0.5635 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.344e-05/0.6603, allocations: 91.94 kB / 0.5636 GB, free: 7.559 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.6629, allocations: 1.851 MB / 0.5654 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008411/0.6713, allocations: 9.197 MB / 0.5744 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.6728, allocations: 0.8076 MB / 0.5752 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009454/0.6738, allocations: 0.6891 MB / 0.5759 GB, free: 9.969 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003049/0.6769, allocations: 2.913 MB / 0.5787 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.6769, allocations: 42.5 kB / 0.5787 GB, free: 6.684 MB / 446.1 MB Notification: Performance of pre-optimization done (n=194): time 2.435e-06/0.6769, allocations: 0 / 0.5787 GB, free: 6.684 MB / 446.1 MB Notification: Performance of matching and sorting (n=194): time 0.002783/0.6797, allocations: 1.387 MB / 0.5801 GB, free: 5.293 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.6798, allocations: 81.11 kB / 0.5802 GB, free: 5.195 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.68, allocations: 206.8 kB / 0.5804 GB, free: 4.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.6801, allocations: 33.7 kB / 0.5804 GB, free: 4.941 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.6804, allocations: 444.2 kB / 0.5808 GB, free: 4.496 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004596/0.6808, allocations: 0.6079 MB / 0.5814 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.6809, allocations: 4 kB / 0.5814 GB, free: 3.875 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.6811, allocations: 382.8 kB / 0.5818 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/0.6817, allocations: 306.5 kB / 0.5821 GB, free: 3.195 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/0.6824, allocations: 0.5623 MB / 0.5826 GB, free: 2.543 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007898/0.6832, allocations: 455.7 kB / 0.5831 GB, free: 2.098 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6832, allocations: 0 / 0.5831 GB, free: 2.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001769/0.685, allocations: 1.012 MB / 0.5841 GB, free: 1.082 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.6851, allocations: 8 kB / 0.5841 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.6851, allocations: 8 kB / 0.5841 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/0.6851, allocations: 12.81 kB / 0.5841 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.6855, allocations: 107.8 kB / 0.5842 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.246/0.9315, allocations: 1.178 MB / 0.5853 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.9326, allocations: 163.3 kB / 0.5855 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/0.9327, allocations: 35.78 kB / 0.5855 GB, free: 136.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (medium2.baseProperties.phaseOutput,medium2.completeState.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.baseProperties.phaseOutput,medium1.completeState.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.baseProperties.phaseInput,medium1.baseProperties.phaseInput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005845/0.9333, allocations: 293.8 kB / 0.5858 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.9334, allocations: 58.81 kB / 0.5859 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/0.9371, allocations: 2.935 MB / 0.5887 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002936/0.9401, allocations: 2.437 MB / 0.5911 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-05/0.9402, allocations: 0 / 0.5911 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/0.9402, allocations: 16.2 kB / 0.5911 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00695/0.9471, allocations: 5.666 MB / 0.5967 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.9472, allocations: 3.969 kB / 0.5967 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007741/0.948, allocations: 312.6 kB / 0.597 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003743/0.9484, allocations: 283.9 kB / 0.5972 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/0.9484, allocations: 37.91 kB / 0.5973 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005968/0.949, allocations: 1.264 MB / 0.5985 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.949, allocations: 11.16 kB / 0.5985 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.9516, allocations: 2.416 MB / 0.6009 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/0.952, allocations: 237.2 kB / 0.6011 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.9521, allocations: 33.34 kB / 0.6011 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.9528, allocations: 208.9 kB / 0.6013 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.953, allocations: 117.7 kB / 0.6014 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/0.953, allocations: 51.56 kB / 0.6015 GB, free: 130.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.9532, allocations: 127.6 kB / 0.6016 GB, free: 130.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9532, allocations: 0 / 0.6016 GB, free: 130.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001382/0.9545, allocations: 0.4993 MB / 0.6021 GB, free: 130.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 22 (medium1.completeState.state.phase,medium1.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium1.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium1.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium1.completeBubbleDewStates.dewStateOnePhase.state.phase,$cse7.phase,$cse8.phase,$cse9.phase,$cse10.phase,$cse12.phase,medium1.baseProperties.phaseOutput,medium2.completeBubbleDewStates.bubbleStateTwoPhase.state.phase,medium2.completeBubbleDewStates.bubbleStateOnePhase.state.phase,medium2.completeBubbleDewStates.dewStateTwoPhase.state.phase,medium2.completeBubbleDewStates.dewStateOnePhase.state.phase,medium2.completeState.state.phase,$cse1.phase,$cse2.phase,$cse3.phase,$cse4.phase,$cse6.phase,medium2.baseProperties.phaseOutput) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008264/0.9554, allocations: 0.541 MB / 0.6026 GB, free: 129.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002433/0.9578, allocations: 2.351 MB / 0.6049 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.9578, allocations: 0 / 0.6049 GB, free: 128.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.959, allocations: 1.077 MB / 0.606 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003711/0.9627, allocations: 0.951 MB / 0.6069 GB, free: 127.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.967, allocations: 4.031 MB / 0.6108 GB, free: 125.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008389/0.9678, allocations: 1.416 MB / 0.6122 GB, free: 124.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.9681, allocations: 107.5 kB / 0.6123 GB, free: 124.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9681, allocations: 3.156 kB / 0.6123 GB, free: 124.7 MB / 446.1 MB Notification: Performance of Templates: time 0.07791/1.046, allocations: 38.53 MB / 0.65 GB, free: 108.2 MB / 446.1 MB make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.makefile make -j1 -f ExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicit.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.TestBasePropertiesImplicitCalcHelperMain.o OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicitCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppExternalMedia_ExternalMedia.Test.TestMedium.TestBasePropertiesImplicitCalcHelperMain.o] Error 1