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.0009096/0.0009102, allocations: 98.78 kB / 17.96 MB, free: 5.77 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.0009597/0.0009597, allocations: 175.9 kB / 18.86 MB, free: 4.906 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.96/1.96, allocations: 205.4 MB / 225 MB, free: 13.07 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.0004517/0.0004517, allocations: 12 kB / 282 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 47.58 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002783/0.1241, allocations: 2.029 MB / 331.6 MB, free: 1.727 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1254, allocations: 0.7022 MB / 332.3 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1255, allocations: 7.938 kB / 332.3 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1257, allocations: 19.78 kB / 332.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1258, allocations: 51.61 kB / 332.4 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1261, allocations: 71.86 kB / 332.5 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1264, allocations: 251 kB / 332.7 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.1266, allocations: 102.9 kB / 332.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.1268, allocations: 95.62 kB / 332.9 MB, free: 440 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.127, allocations: 91.55 kB / 333 MB, free: 348 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.1271, allocations: 12 kB / 333 MB, free: 336 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.12e-05/0.1271, allocations: 12 kB / 333 MB, free: 324 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-05/0.1272, allocations: 43.77 kB / 333.1 MB, free: 280 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1273, allocations: 125.2 kB / 333.2 MB, free: 148 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.1276, allocations: 207.7 kB / 333.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1276, allocations: 3.984 kB / 333.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1276, allocations: 0 / 333.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1276, allocations: 4 kB / 333.4 MB, free: 15.93 MB / 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.0009763/0.1286, allocations: 0.6326 MB / 334 MB, free: 15.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1287, allocations: 8.031 kB / 334 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.1287, allocations: 32.56 kB / 334.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.129, allocations: 236.6 kB / 334.3 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-05/0.1291, allocations: 54.19 kB / 334.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.1292, allocations: 20.38 kB / 334.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/0.1298, allocations: 268.3 kB / 334.6 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1299, allocations: 0 / 334.6 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.1299, allocations: 11.98 kB / 334.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.1299, allocations: 4 kB / 334.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.1304, allocations: 212.3 kB / 334.9 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.1318, allocations: 0.7717 MB / 335.6 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.1324, allocations: 311.2 kB / 335.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004224/0.1328, allocations: 229 kB / 336.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1328, allocations: 4 kB / 336.2 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005107/0.1334, allocations: 320.3 kB / 336.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.463e-06/0.1334, allocations: 0 / 336.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001153/0.1345, allocations: 0.5981 MB / 337.1 MB, free: 12.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.1347, allocations: 199.9 kB / 337.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.1348, allocations: 179.1 kB / 337.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.1349, allocations: 41.69 kB / 337.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.135, allocations: 128.8 kB / 337.6 MB, free: 11.42 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.1351, allocations: 79 kB / 337.7 MB, free: 11.34 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.284e-05/0.1351, allocations: 45.69 kB / 337.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1353, allocations: 338.8 kB / 338.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.1355, allocations: 112.6 kB / 338.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.1358, allocations: 179.1 kB / 338.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/0.1365, allocations: 421.6 kB / 338.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1365, allocations: 0 / 338.8 MB, free: 10.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000726/0.1372, allocations: 462 kB / 339.2 MB, free: 9.699 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.695e-05/0.1373, allocations: 97.09 kB / 339.3 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1374, allocations: 3.938 kB / 339.3 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.1374, allocations: 4 kB / 339.3 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.1376, allocations: 39.92 kB / 339.4 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.1376, allocations: 8.172 kB / 339.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1378, allocations: 35.84 kB / 339.4 MB, free: 9.496 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.1379, allocations: 19.92 kB / 339.4 MB, free: 9.477 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 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000304/0.1382, allocations: 239.8 kB / 339.7 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.1382, allocations: 23.72 kB / 339.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.1383, allocations: 34.58 kB / 339.7 MB, free: 9.156 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1383, allocations: 4 kB / 339.7 MB, free: 9.152 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1383, allocations: 0 / 339.7 MB, free: 9.152 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1383, allocations: 0 / 339.7 MB, free: 9.152 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.1398, allocations: 0.9474 MB / 340.7 MB, free: 8.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1398, allocations: 0 / 340.7 MB, free: 8.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.1399, allocations: 19.98 kB / 340.7 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1399, allocations: 4 kB / 340.7 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.1399, allocations: 11.98 kB / 340.7 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1399, allocations: 0 / 340.7 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.1399, allocations: 4 kB / 340.7 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009764/0.1409, allocations: 0.6292 MB / 341.3 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.141, allocations: 100.8 kB / 341.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.1411, allocations: 16 kB / 341.4 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.1413, allocations: 27.97 kB / 341.5 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.1414, allocations: 19.97 kB / 341.5 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.1414, allocations: 12 kB / 341.5 MB, free: 7.242 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.1415, allocations: 127.2 kB / 341.6 MB, free: 7.117 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1415, allocations: 7.938 kB / 341.6 MB, free: 7.109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003249/0.1418, allocations: 79.84 kB / 341.7 MB, free: 7.031 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002014/0.142, allocations: 136.9 kB / 341.9 MB, free: 6.883 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008282/0.1429, allocations: 0.5565 MB / 342.4 MB, free: 6.289 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1429, allocations: 0 / 342.4 MB, free: 6.289 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.1434, allocations: 406.9 kB / 342.8 MB, free: 5.867 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.1442, allocations: 132.5 kB / 342.9 MB, free: 5.738 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1452, allocations: 0.6501 MB / 343.6 MB, free: 5.059 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1456, allocations: 0.749 MB / 344.3 MB, free: 4.285 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.1456, allocations: 23.42 kB / 344.4 MB, free: 4.262 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1456, allocations: 0 / 344.4 MB, free: 4.262 MB / 286.1 MB Notification: Performance of Templates: time 0.005418/0.1511, allocations: 3.065 MB / 347.4 MB, free: 1.203 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++ -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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