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.001535/0.001534, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001737/0.001737, allocations: 194 kB / 18.72 MB, free: 4.762 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.1 MB / 224.6 MB, free: 12.38 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.001231/0.001231, allocations: 52.39 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1506, allocations: 46.64 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.005297/0.1559, allocations: 2.384 MB / 329.6 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.1574, allocations: 0.7099 MB / 330.3 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.1575, allocations: 0 / 330.3 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.1577, allocations: 27.83 kB / 330.4 MB, free: 1.746 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.1579, allocations: 51.56 kB / 330.4 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.1582, allocations: 71.92 kB / 330.5 MB, free: 1.625 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.1585, allocations: 251 kB / 330.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.1587, allocations: 90.94 kB / 330.8 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.1589, allocations: 103.6 kB / 330.9 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.1591, allocations: 127.4 kB / 331 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.1592, allocations: 12 kB / 331.1 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.324e-05/0.1592, allocations: 16 kB / 331.1 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.603e-05/0.1593, allocations: 43.84 kB / 331.1 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.1595, allocations: 115.4 kB / 331.2 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.1597, allocations: 203.8 kB / 331.4 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1597, allocations: 4 kB / 331.4 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1598, allocations: 0 / 331.4 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1598, allocations: 0 / 331.4 MB, free: 0.6797 MB / 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.001285/0.1611, allocations: 0.6678 MB / 332.1 MB, free: 15.94 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1611, allocations: 8.031 kB / 332.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.1612, allocations: 28.56 kB / 332.1 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.1615, allocations: 252.4 kB / 332.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-05/0.1616, allocations: 50.27 kB / 332.4 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.1617, allocations: 20.36 kB / 332.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.1623, allocations: 264.3 kB / 332.7 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1623, allocations: 0 / 332.7 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.1624, allocations: 8 kB / 332.7 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1624, allocations: 4 kB / 332.7 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/0.1629, allocations: 200.3 kB / 332.9 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.1642, allocations: 0.7639 MB / 333.7 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.1649, allocations: 295.2 kB / 334 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.1653, allocations: 225 kB / 334.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.1654, allocations: 0 / 334.2 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005464/0.1659, allocations: 316.3 kB / 334.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.1659, allocations: 0 / 334.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001254/0.1672, allocations: 0.5785 MB / 335.1 MB, free: 12.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/0.1674, allocations: 203.9 kB / 335.3 MB, free: 12.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.1676, allocations: 175.2 kB / 335.4 MB, free: 12.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.1676, allocations: 37.7 kB / 335.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1677, allocations: 132.7 kB / 335.6 MB, free: 12.19 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.1678, allocations: 83.08 kB / 335.7 MB, free: 12.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.168, allocations: 66.02 kB / 335.8 MB, free: 12.04 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.1681, allocations: 334.8 kB / 336.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.1684, allocations: 108.6 kB / 336.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.1687, allocations: 167.1 kB / 336.4 MB, free: 11.41 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.1693, allocations: 413.3 kB / 336.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1693, allocations: 11.94 kB / 336.8 MB, free: 10.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007091/0.17, allocations: 450.2 kB / 337.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.1701, allocations: 97.09 kB / 337.3 MB, free: 10.37 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1701, allocations: 3.938 kB / 337.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.1702, allocations: 4 kB / 337.3 MB, free: 10.36 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.1704, allocations: 36.02 kB / 337.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1704, allocations: 7.984 kB / 337.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1706, allocations: 35.73 kB / 337.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.1706, allocations: 12 kB / 337.4 MB, free: 10.27 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.0002554/0.1709, allocations: 239.8 kB / 337.6 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/0.1709, allocations: 27.72 kB / 337.7 MB, free: 9.984 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.836e-05/0.171, allocations: 30.58 kB / 337.7 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.171, allocations: 4 kB / 337.7 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.171, allocations: 0 / 337.7 MB, free: 9.945 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.171, allocations: 3.938 kB / 337.7 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.1725, allocations: 0.9239 MB / 338.6 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1725, allocations: 0 / 338.6 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.1726, allocations: 23.98 kB / 338.6 MB, free: 8.926 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1726, allocations: 4 kB / 338.7 MB, free: 8.922 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.1727, allocations: 11.98 kB / 338.7 MB, free: 8.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1727, allocations: 4.031 kB / 338.7 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1727, allocations: 3.938 kB / 338.7 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.1736, allocations: 0.6174 MB / 339.3 MB, free: 8.254 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/0.1737, allocations: 100.8 kB / 339.4 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.1738, allocations: 12.19 kB / 339.4 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.174, allocations: 23.98 kB / 339.4 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.1741, allocations: 23.91 kB / 339.4 MB, free: 8.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.1742, allocations: 11.98 kB / 339.5 MB, free: 8.066 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1743, allocations: 135.1 kB / 339.6 MB, free: 7.934 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1743, allocations: 4 kB / 339.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.1747, allocations: 75.84 kB / 339.7 MB, free: 7.855 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.000194/0.1749, allocations: 128.9 kB / 339.8 MB, free: 7.715 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000882/0.1757, allocations: 0.5448 MB / 340.3 MB, free: 7.133 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1758, allocations: 4 kB / 340.3 MB, free: 7.129 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.1763, allocations: 402.7 kB / 340.7 MB, free: 6.711 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.177, allocations: 128.3 kB / 340.9 MB, free: 6.586 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1781, allocations: 0.6259 MB / 341.5 MB, free: 5.93 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.1785, allocations: 0.7447 MB / 342.2 MB, free: 5.16 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.1786, allocations: 23.44 kB / 342.3 MB, free: 5.137 MB / 286.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1786, allocations: 0 / 342.3 MB, free: 5.137 MB / 286.1 MB Notification: Performance of Templates: time 0.005846/0.1845, allocations: 3.096 MB / 345.4 MB, free: 2.051 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