Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(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_4.0.0_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_4.0.0_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.0009753/0.0009752, allocations: 93.73 kB / 16.95 MB, free: 5.938 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.0009903/0.0009903, allocations: 178.7 kB / 17.84 MB, free: 5.617 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.67/1.67, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002842, allocations: 8 kB / 301.4 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1196, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003221/0.1228, allocations: 1.986 MB / 353.9 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1241, allocations: 0.6237 MB / 354.5 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1242, allocations: 4 kB / 354.5 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.1244, allocations: 19.78 kB / 354.5 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.1245, allocations: 55.61 kB / 354.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1248, allocations: 63.86 kB / 354.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.1251, allocations: 231.1 kB / 354.8 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.1254, allocations: 88.48 kB / 354.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.1256, allocations: 91.62 kB / 355 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.1258, allocations: 95.59 kB / 355.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.1259, allocations: 12 kB / 355.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.465e-05/0.126, allocations: 12 kB / 355.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.126, allocations: 39.84 kB / 355.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.718e-05/0.1261, allocations: 65.58 kB / 355.2 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.1264, allocations: 207.7 kB / 355.4 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1264, allocations: 0 / 355.4 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.1264, allocations: 0 / 355.4 MB, free: 424 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.882e-06/0.1265, allocations: 0 / 355.4 MB, free: 424 kB / 286.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.001249/0.1277, allocations: 0.6287 MB / 356.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.1278, allocations: 16.02 kB / 356.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.387e-05/0.1279, allocations: 27.67 kB / 356.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.1283, allocations: 228.3 kB / 356.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.1284, allocations: 49.7 kB / 356.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.1284, allocations: 20 kB / 356.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.1291, allocations: 264.1 kB / 356.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1292, allocations: 3.938 kB / 356.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.1292, allocations: 8 kB / 356.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.1292, allocations: 7.953 kB / 356.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.1297, allocations: 220.1 kB / 356.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.1312, allocations: 0.772 MB / 357.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006306/0.1319, allocations: 307.4 kB / 358 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.1323, allocations: 229.4 kB / 358.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.1324, allocations: 4.172 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005885/0.133, allocations: 335.5 kB / 358.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/0.133, allocations: 0 / 358.5 MB, free: 13.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001247/0.1342, allocations: 0.5959 MB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.1344, allocations: 203.8 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.1346, allocations: 179.9 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.1347, allocations: 37.7 kB / 359.5 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1348, allocations: 132.7 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.216e-05/0.1349, allocations: 83.08 kB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.1349, allocations: 8 kB / 359.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.1351, allocations: 334.8 kB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.1354, allocations: 108.6 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.1357, allocations: 187 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.136, allocations: 219.8 kB / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.136, allocations: 0 / 360.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007042/0.1367, allocations: 462.1 kB / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.145e-05/0.1368, allocations: 89.09 kB / 361.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.1368, allocations: 4 kB / 361.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1369, allocations: 7.938 kB / 361.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.1371, allocations: 43.91 kB / 361.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1371, allocations: 0 / 361.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1373, allocations: 43.77 kB / 361.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.1373, allocations: 12.19 kB / 361.2 MB, free: 10.23 MB / 302.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.0002623/0.1376, allocations: 235.8 kB / 361.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.1376, allocations: 31.61 kB / 361.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.1377, allocations: 22.66 kB / 361.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1377, allocations: 3.984 kB / 361.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.1377, allocations: 4 kB / 361.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.1377, allocations: 4 kB / 361.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.1391, allocations: 0.9357 MB / 362.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1392, allocations: 4 kB / 362.5 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.1393, allocations: 31.95 kB / 362.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1393, allocations: 3.984 kB / 362.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.1393, allocations: 8 kB / 362.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1393, allocations: 4 kB / 362.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1393, allocations: 3.984 kB / 362.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009026/0.1403, allocations: 0.6284 MB / 363.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.1403, allocations: 100.9 kB / 363.2 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.896e-05/0.1404, allocations: 15.98 kB / 363.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.1406, allocations: 27.98 kB / 363.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.1407, allocations: 23.95 kB / 363.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.1407, allocations: 12 kB / 363.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1409, allocations: 135.2 kB / 363.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1409, allocations: 0 / 363.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000334/0.1412, allocations: 79.8 kB / 363.5 MB, free: 7.781 MB / 302.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.0001988/0.1414, allocations: 133 kB / 363.7 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008634/0.1423, allocations: 0.5642 MB / 364.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1423, allocations: 3.938 kB / 364.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005295/0.1428, allocations: 409.6 kB / 364.6 MB, free: 6.617 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.1435, allocations: 127 kB / 364.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1446, allocations: 0.6255 MB / 365.4 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.145, allocations: 0.7409 MB / 366.1 MB, free: 5.074 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.1451, allocations: 27.38 kB / 366.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1451, allocations: 384 / 366.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of Templates: time 0.005554/0.1506, allocations: 3.058 MB / 369.2 MB, free: 2.008 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversionCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversionCalcHelperMain.o] Error 1