Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 93.22 kB / 17.96 MB, free: 5.629 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.001348/0.001349, allocations: 179.6 kB / 18.86 MB, free: 4.77 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.964/1.964, 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.0005714/0.0005713, allocations: 19.98 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1355, allocations: 47.59 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004288/0.1399, allocations: 2.844 MB / 332.5 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.1424, allocations: 0.979 MB / 333.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.1429, allocations: 4 kB / 333.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.1432, allocations: 47.61 kB / 333.5 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004995/0.1437, allocations: 111.2 kB / 333.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.1441, allocations: 123.7 kB / 333.7 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005667/0.1447, allocations: 458.1 kB / 334.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.1449, allocations: 111.8 kB / 334.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.1452, allocations: 167.3 kB / 334.4 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.1455, allocations: 195 kB / 334.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.1455, allocations: 20 kB / 334.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1457, allocations: 55.97 kB / 334.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.541e-05/0.1458, allocations: 63.69 kB / 334.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.146, allocations: 232.5 kB / 335 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.1464, allocations: 363.2 kB / 335.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1464, allocations: 0 / 335.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1464, allocations: 4 kB / 335.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1464, allocations: 0 / 335.4 MB, free: 13.97 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00136/0.1478, allocations: 0.6742 MB / 336 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1478, allocations: 8.031 kB / 336 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1479, allocations: 48.38 kB / 336.1 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.1484, allocations: 311.3 kB / 336.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.1484, allocations: 29.03 kB / 336.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.1485, allocations: 32.38 kB / 336.4 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007724/0.1493, allocations: 357.3 kB / 336.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1493, allocations: 3.938 kB / 336.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.1493, allocations: 12 kB / 336.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.1494, allocations: 8 kB / 336.8 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000548/0.1499, allocations: 246.5 kB / 337.1 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.1521, allocations: 1.186 MB / 338.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006976/0.1529, allocations: 295.5 kB / 338.5 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.1534, allocations: 221.3 kB / 338.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/0.1544, allocations: 1.117 MB / 339.9 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.1545, allocations: 46.72 kB / 339.9 MB, free: 8.953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 2.004e-06/0.1545, allocations: 0 / 339.9 MB, free: 8.953 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001555/0.156, allocations: 0.5515 MB / 340.5 MB, free: 8.375 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.1561, allocations: 89.03 kB / 340.5 MB, free: 8.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.1566, allocations: 337.7 kB / 340.9 MB, free: 7.934 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.1567, allocations: 37.69 kB / 340.9 MB, free: 7.891 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.1569, allocations: 204.2 kB / 341.1 MB, free: 7.688 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.157, allocations: 106.5 kB / 341.2 MB, free: 7.582 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.195e-05/0.1571, allocations: 37.7 kB / 341.3 MB, free: 7.539 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002671/0.1573, allocations: 350.7 kB / 341.6 MB, free: 7.188 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.1576, allocations: 108.7 kB / 341.7 MB, free: 7.078 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.1579, allocations: 193.8 kB / 341.9 MB, free: 6.859 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.1585, allocations: 311.1 kB / 342.2 MB, free: 6.527 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1585, allocations: 0 / 342.2 MB, free: 6.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008661/0.1594, allocations: 445.4 kB / 342.6 MB, free: 6.082 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.1595, allocations: 4 kB / 342.6 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1595, allocations: 4 kB / 342.6 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002958/0.1598, allocations: 72.69 kB / 342.7 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.1601, allocations: 83.89 kB / 342.8 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.162, allocations: 1.756 MB / 344.5 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.1623, allocations: 43.58 kB / 344.6 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.1624, allocations: 16 kB / 344.6 MB, free: 3.973 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003063/0.1627, allocations: 153.8 kB / 344.8 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.1627, allocations: 39.55 kB / 344.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007695/0.1635, allocations: 342.3 kB / 345.1 MB, free: 3.426 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1635, allocations: 4 kB / 345.1 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.1635, allocations: 0 / 345.1 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1636, allocations: 0 / 345.1 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.1641, allocations: 393.2 kB / 345.5 MB, free: 2.988 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1642, allocations: 0 / 345.5 MB, free: 2.988 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.1645, allocations: 55.97 kB / 345.6 MB, free: 2.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002367/0.1647, allocations: 64.88 kB / 345.6 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.1648, allocations: 12 kB / 345.6 MB, free: 2.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005073/0.1653, allocations: 0.6107 MB / 346.3 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1653, allocations: 4.031 kB / 346.3 MB, free: 2.215 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.1663, allocations: 0.5484 MB / 346.8 MB, free: 1.648 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.1665, allocations: 132.6 kB / 346.9 MB, free: 1.5 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.1665, allocations: 11.94 kB / 347 MB, free: 1.488 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002683/0.1668, allocations: 27.97 kB / 347 MB, free: 1.461 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/0.1669, allocations: 11.98 kB / 347 MB, free: 1.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.1669, allocations: 15.98 kB / 347 MB, free: 1.434 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002894/0.1672, allocations: 239.2 kB / 347.2 MB, free: 1.207 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1672, allocations: 0 / 347.2 MB, free: 1.207 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005353/0.1678, allocations: 107.8 kB / 347.3 MB, free: 1.102 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002678/0.1681, allocations: 127.1 kB / 347.5 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.1691, allocations: 426.3 kB / 347.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1691, allocations: 0 / 347.9 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.1695, allocations: 144.4 kB / 348 MB, free: 404 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.17, allocations: 49.3 kB / 348.1 MB, free: 352 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.172, allocations: 1.119 MB / 349.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.1725, allocations: 0.7989 MB / 350 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.1726, allocations: 31.44 kB / 350 MB, free: 14.33 MB / 302.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1726, allocations: 0 / 350 MB, free: 14.33 MB / 302.1 MB Notification: Performance of Templates: time 0.009393/0.182, allocations: 5.355 MB / 355.4 MB, free: 8.977 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailedCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.o] Error 1