Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008637/0.0008637, allocations: 95.2 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009808/0.0009808, allocations: 198.5 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.69/1.69, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.000252, allocations: 8 kB / 307.3 MB, free: 1.387 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 51.5 MB / 358.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004014/0.1384, allocations: 2.896 MB / 361.7 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.14, allocations: 0.8069 MB / 362.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.1402, allocations: 11.94 kB / 362.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.1404, allocations: 51.61 kB / 362.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.1407, allocations: 99.22 kB / 362.7 MB, free: 10 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.141, allocations: 79.91 kB / 362.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004873/0.1415, allocations: 454 kB / 363.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.1418, allocations: 148.3 kB / 363.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.1421, allocations: 147.4 kB / 363.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1423, allocations: 159.2 kB / 363.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.1423, allocations: 24 kB / 363.7 MB, free: 9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.1424, allocations: 24 kB / 363.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.1425, allocations: 75.61 kB / 363.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1426, allocations: 97.52 kB / 363.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.1431, allocations: 447 kB / 364.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.1431, allocations: 0 / 364.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.1431, allocations: 7.938 kB / 364.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1431, allocations: 0 / 364.3 MB, free: 8.355 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.001138/0.1443, allocations: 0.6472 MB / 364.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1443, allocations: 8.031 kB / 365 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.1446, allocations: 55.52 kB / 365 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.145, allocations: 303.4 kB / 365.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.145, allocations: 32.95 kB / 365.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.1451, allocations: 32 kB / 365.4 MB, free: 7.199 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.1458, allocations: 390.2 kB / 365.7 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1458, allocations: 0 / 365.7 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.1459, allocations: 12 kB / 365.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.1459, allocations: 8 kB / 365.8 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.1465, allocations: 319.7 kB / 366.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.1488, allocations: 1.459 MB / 367.5 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.1495, allocations: 246.7 kB / 367.8 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.1497, allocations: 100.8 kB / 367.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.1498, allocations: 4 kB / 367.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1498, allocations: 30.56 kB / 367.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1498, allocations: 0 / 367.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.002157/0.152, allocations: 0.8153 MB / 368.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.152, allocations: 51.41 kB / 368.8 MB, free: 3.605 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.1524, allocations: 311.2 kB / 369.1 MB, free: 3.297 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1524, allocations: 25.7 kB / 369.1 MB, free: 3.266 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1526, allocations: 227.7 kB / 369.3 MB, free: 3.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.1526, allocations: 59.2 kB / 369.4 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.1527, allocations: 8 kB / 369.4 MB, free: 2.969 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1528, allocations: 338.8 kB / 369.7 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.153, allocations: 83.95 kB / 369.8 MB, free: 2.547 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.1533, allocations: 161.4 kB / 370 MB, free: 2.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.1536, allocations: 110.3 kB / 370.1 MB, free: 2.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1536, allocations: 4 kB / 370.1 MB, free: 2.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009409/0.1545, allocations: 450.7 kB / 370.5 MB, free: 1.793 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1545, allocations: 10.81 kB / 370.5 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1546, allocations: 0 / 370.5 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/0.155, allocations: 121.7 kB / 370.6 MB, free: 1.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1552, allocations: 39.92 kB / 370.7 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3277/0.4829, allocations: 3.302 MB / 374 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.4834, allocations: 38.8 kB / 374 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.4834, allocations: 13.06 kB / 374 MB, free: 17.81 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.0002954/0.4837, allocations: 159.5 kB / 374.2 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.4838, allocations: 28.09 kB / 374.2 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.295e-05/0.4839, allocations: 31.28 kB / 374.3 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4839, allocations: 1.375 kB / 374.3 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4839, allocations: 4.703 kB / 374.3 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4839, allocations: 2.797 kB / 374.3 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.4845, allocations: 366.5 kB / 374.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4845, allocations: 4.891 kB / 374.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.4846, allocations: 18.5 kB / 374.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004801/0.4851, allocations: 120.1 kB / 374.8 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.4852, allocations: 1.297 kB / 374.8 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003779/0.4889, allocations: 3.206 MB / 378 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.489, allocations: 1.641 kB / 378 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.4901, allocations: 446.8 kB / 378.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.85e-05/0.4902, allocations: 112.3 kB / 378.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.4903, allocations: 3.484 kB / 378.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.4905, allocations: 35.81 kB / 378.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.4906, allocations: 16.06 kB / 378.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.4906, allocations: 4.562 kB / 378.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003798/0.491, allocations: 221.4 kB / 378.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.491, allocations: 0 / 378.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007078/0.4917, allocations: 97.12 kB / 378.9 MB, free: 14.54 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.000216/0.492, allocations: 105.8 kB / 379 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.4933, allocations: 0.5247 MB / 379.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4933, allocations: 0.5 kB / 379.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.4938, allocations: 353.2 kB / 379.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.4943, allocations: 49.42 kB / 379.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.4959, allocations: 0.7173 MB / 380.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.4964, allocations: 0.7808 MB / 381.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.144e-05/0.4965, allocations: 22.98 kB / 381.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4965, allocations: 0 / 381.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01358/0.51, allocations: 6.672 MB / 388.1 MB, free: 11.3 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SubtracterCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SubtracterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SubtracterCalcHelperMain.o] Error 1