Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007633/0.0007633, allocations: 93.86 kB / 17.58 MB, free: 5.801 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.0008774/0.0008776, allocations: 181.1 kB / 18.48 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.4 MB / 224.6 MB, free: 13.05 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004773, allocations: 8 kB / 281.4 MB, free: 3.719 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 47.58 MB / 329 MB, free: 4.055 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002604/0.114, allocations: 1.956 MB / 330.9 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1152, allocations: 0.6713 MB / 331.6 MB, free: 1.402 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1153, allocations: 11.88 kB / 331.6 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.1154, allocations: 19.84 kB / 331.6 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.269e-05/0.1155, allocations: 43.61 kB / 331.7 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1158, allocations: 71.86 kB / 331.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.1161, allocations: 231 kB / 332 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.1163, allocations: 93.19 kB / 332.1 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1165, allocations: 91.7 kB / 332.2 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1167, allocations: 95.59 kB / 332.3 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.1167, allocations: 8 kB / 332.3 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.303e-05/0.1168, allocations: 12 kB / 332.3 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.836e-05/0.1168, allocations: 35.83 kB / 332.3 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.434e-05/0.1169, allocations: 65.58 kB / 332.4 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.1171, allocations: 199.8 kB / 332.6 MB, free: 452 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1171, allocations: 0 / 332.6 MB, free: 452 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1171, allocations: 0 / 332.6 MB, free: 452 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1172, allocations: 0 / 332.6 MB, free: 452 kB / 270.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.0009958/0.1182, allocations: 0.6402 MB / 333.2 MB, free: 15.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1182, allocations: 8.031 kB / 333.2 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.1183, allocations: 35.62 kB / 333.3 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.1186, allocations: 239.3 kB / 333.5 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-05/0.1187, allocations: 49.66 kB / 333.5 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.1188, allocations: 20 kB / 333.6 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.1194, allocations: 260.1 kB / 333.8 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1194, allocations: 4 kB / 333.8 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.1195, allocations: 4 kB / 333.8 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1195, allocations: 8 kB / 333.8 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.1199, allocations: 216.3 kB / 334 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.1213, allocations: 0.7717 MB / 334.8 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.1219, allocations: 307.4 kB / 335.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.1224, allocations: 229.4 kB / 335.3 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1224, allocations: 4 kB / 335.3 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/0.1229, allocations: 329.4 kB / 335.7 MB, free: 13.13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 3.677e-06/0.123, allocations: 3.984 kB / 335.7 MB, free: 13.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001186/0.1241, allocations: 0.5915 MB / 336.3 MB, free: 12.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.1243, allocations: 199.9 kB / 336.5 MB, free: 12.28 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1245, allocations: 183.2 kB / 336.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.1245, allocations: 41.64 kB / 336.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1247, allocations: 136.8 kB / 336.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.798e-05/0.1248, allocations: 75 kB / 336.9 MB, free: 11.83 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.1248, allocations: 4 kB / 336.9 MB, free: 11.83 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.125, allocations: 342.8 kB / 337.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.1252, allocations: 116.6 kB / 337.3 MB, free: 11.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.1255, allocations: 171.3 kB / 337.5 MB, free: 11.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.1258, allocations: 217.8 kB / 337.7 MB, free: 10.95 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1258, allocations: 0 / 337.7 MB, free: 10.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007423/0.1266, allocations: 466.2 kB / 338.2 MB, free: 10.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.1267, allocations: 97.09 kB / 338.3 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1267, allocations: 0 / 338.3 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1267, allocations: 4 kB / 338.3 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.1269, allocations: 40.09 kB / 338.3 MB, free: 10.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1269, allocations: 4.094 kB / 338.3 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.1271, allocations: 47.67 kB / 338.4 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.1272, allocations: 12 kB / 338.4 MB, free: 10.25 MB / 286.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: 36 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,dA_Converter.trig,$PRE.dA_Converter.vout,dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.0002377/0.1274, allocations: 240.8 kB / 338.6 MB, free: 9.992 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.1275, allocations: 23.81 kB / 338.6 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.1275, allocations: 22.66 kB / 338.6 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1275, allocations: 4 kB / 338.7 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.1275, allocations: 0 / 338.7 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1276, allocations: 3.984 kB / 338.7 MB, free: 9.934 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.129, allocations: 0.9551 MB / 339.6 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.129, allocations: 0 / 339.6 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1291, allocations: 19.98 kB / 339.6 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1291, allocations: 3.938 kB / 339.6 MB, free: 8.883 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.1291, allocations: 15.95 kB / 339.6 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1292, allocations: 0 / 339.6 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1292, allocations: 0 / 339.6 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009773/0.1301, allocations: 0.636 MB / 340.3 MB, free: 8.199 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.686e-05/0.1302, allocations: 96.77 kB / 340.4 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/0.1303, allocations: 23.94 kB / 340.4 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.1305, allocations: 23.98 kB / 340.4 MB, free: 8.039 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.1306, allocations: 19.97 kB / 340.4 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.1306, allocations: 15.98 kB / 340.5 MB, free: 8.004 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.835e-05/0.1307, allocations: 123.2 kB / 340.6 MB, free: 7.883 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1307, allocations: 4 kB / 340.6 MB, free: 7.879 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.1311, allocations: 79.84 kB / 340.7 MB, free: 7.801 MB / 286.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: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.000212/0.1313, allocations: 136.7 kB / 340.8 MB, free: 7.652 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008579/0.1322, allocations: 0.5526 MB / 341.4 MB, free: 7.062 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1322, allocations: 0 / 341.4 MB, free: 7.062 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005627/0.1327, allocations: 415 kB / 341.8 MB, free: 6.633 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.1334, allocations: 123.8 kB / 341.9 MB, free: 6.512 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1345, allocations: 0.6272 MB / 342.5 MB, free: 5.855 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1348, allocations: 0.7448 MB / 343.2 MB, free: 5.086 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.1349, allocations: 27.42 kB / 343.3 MB, free: 5.059 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1349, allocations: 0 / 343.3 MB, free: 5.059 MB / 286.1 MB Notification: Performance of Templates: time 0.005476/0.1404, allocations: 3.062 MB / 346.3 MB, free: 2 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversionCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversionCalcHelperMain.o] Error 1