Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008544/0.0008545, allocations: 94.44 kB / 16.96 MB, free: 6.453 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.0008479/0.0008479, allocations: 179.2 kB / 17.84 MB, free: 6 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.565/1.565, allocations: 223.2 MB / 241.8 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 8 kB / 301.5 MB, free: 6.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1567, allocations: 50.42 MB / 351.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.00399/0.1607, allocations: 2.878 MB / 354.8 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.1626, allocations: 0.7679 MB / 355.5 MB, free: 332 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004943/0.1631, allocations: 8 kB / 355.5 MB, free: 324 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1634, allocations: 47.61 kB / 355.6 MB, free: 276 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.1639, allocations: 107.2 kB / 355.7 MB, free: 168 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.1643, allocations: 79.91 kB / 355.8 MB, free: 88 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006576/0.1649, allocations: 454 kB / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.1653, allocations: 136.4 kB / 356.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.1657, allocations: 151.4 kB / 356.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.166, allocations: 163.2 kB / 356.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.1661, allocations: 20 kB / 356.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.1662, allocations: 20 kB / 356.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.1663, allocations: 63.7 kB / 356.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.1664, allocations: 97.52 kB / 356.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.1669, allocations: 447 kB / 357.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1669, allocations: 4 kB / 357.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1669, allocations: 0 / 357.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.1669, allocations: 0 / 357.3 MB, free: 14.54 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001297/0.1682, allocations: 0.6433 MB / 357.9 MB, free: 13.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1683, allocations: 8.031 kB / 357.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.1684, allocations: 43.53 kB / 358 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.1689, allocations: 315.2 kB / 358.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.169, allocations: 25 kB / 358.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.169, allocations: 40 kB / 358.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008633/0.1699, allocations: 382.1 kB / 358.7 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1699, allocations: 7.938 kB / 358.7 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.17, allocations: 15.95 kB / 358.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.17, allocations: 12 kB / 358.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/0.1708, allocations: 307.9 kB / 359.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.1739, allocations: 1.467 MB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007083/0.1747, allocations: 242.7 kB / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.1749, allocations: 104.8 kB / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.175, allocations: 0 / 360.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.975e-05/0.175, allocations: 42.55 kB / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.175, allocations: 0 / 360.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.002408/0.1775, allocations: 0.8018 MB / 361.7 MB, free: 9.852 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.1775, allocations: 51.41 kB / 361.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.178, allocations: 311.3 kB / 362.1 MB, free: 9.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.178, allocations: 25.7 kB / 362.1 MB, free: 9.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.1782, allocations: 231.7 kB / 362.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.1783, allocations: 59.19 kB / 362.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.1783, allocations: 8 kB / 362.4 MB, free: 9.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1785, allocations: 330.8 kB / 362.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.1787, allocations: 91.89 kB / 362.8 MB, free: 8.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.179, allocations: 161.4 kB / 362.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.1793, allocations: 102.7 kB / 363.1 MB, free: 8.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1793, allocations: 3.938 kB / 363.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001065/0.1803, allocations: 450.7 kB / 363.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.1804, allocations: 4 kB / 363.5 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.1804, allocations: 7.984 kB / 363.5 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004953/0.1809, allocations: 117.7 kB / 363.6 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.1811, allocations: 47.88 kB / 363.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/0.1854, allocations: 3.318 MB / 367 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.1857, allocations: 35.67 kB / 367 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.1857, allocations: 12 kB / 367 MB, free: 4.172 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002467/0.1859, allocations: 157.8 kB / 367.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.401e-05/0.186, allocations: 31.66 kB / 367.2 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.73e-05/0.1861, allocations: 30.3 kB / 367.2 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1861, allocations: 0 / 367.2 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1861, allocations: 0 / 367.2 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1861, allocations: 0 / 367.2 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.1866, allocations: 369.4 kB / 367.6 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.1866, allocations: 7.953 kB / 367.6 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.768e-05/0.1867, allocations: 16 kB / 367.6 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003525/0.1871, allocations: 117.6 kB / 367.7 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1871, allocations: 7.984 kB / 367.8 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2425/0.4296, allocations: 3.194 MB / 370.9 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4297, allocations: 0 / 370.9 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.4311, allocations: 451.6 kB / 371.4 MB, free: 23.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.4312, allocations: 105.7 kB / 371.5 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.4313, allocations: 3.594 kB / 371.5 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002702/0.4315, allocations: 29.94 kB / 371.5 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.4317, allocations: 16.91 kB / 371.5 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.4317, allocations: 5.984 kB / 371.5 MB, free: 23.35 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003739/0.4321, allocations: 217.9 kB / 371.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4321, allocations: 1.188 kB / 371.8 MB, free: 23.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006257/0.4327, allocations: 99.78 kB / 371.9 MB, free: 23.27 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000158/0.4329, allocations: 104.2 kB / 372 MB, free: 23.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.4341, allocations: 0.5354 MB / 372.5 MB, free: 22.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4342, allocations: 0.7812 kB / 372.5 MB, free: 22.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.4346, allocations: 349.5 kB / 372.8 MB, free: 22.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.4351, allocations: 48.16 kB / 372.9 MB, free: 22.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.4364, allocations: 0.7157 MB / 373.6 MB, free: 22.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4367, allocations: 0.7812 MB / 374.4 MB, free: 21.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.4367, allocations: 22.62 kB / 374.4 MB, free: 21.62 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.4367, allocations: 0 / 374.4 MB, free: 21.62 MB / 302.1 MB Notification: Performance of Templates: time 0.01186/0.4486, allocations: 6.681 MB / 381.1 MB, free: 20.42 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.OpAmps.SubtracterCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SubtracterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.SubtracterCalcHelperMain.o] Error 1