Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009612/0.0009613, allocations: 95.62 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.001241/0.001241, allocations: 201 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.609/1.609, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002928, allocations: 15.94 kB / 307.3 MB, free: 1.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 51.49 MB / 358.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003956/0.142, allocations: 2.732 MB / 361.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1439, allocations: 0.7716 MB / 362.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003921/0.1443, allocations: 4 kB / 362.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.1446, allocations: 43.69 kB / 362.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003865/0.145, allocations: 95.23 kB / 362.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.1454, allocations: 79.91 kB / 362.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.146, allocations: 406 kB / 362.9 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.1463, allocations: 123 kB / 363.1 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.1466, allocations: 131.5 kB / 363.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.1468, allocations: 147.3 kB / 363.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.1469, allocations: 16 kB / 363.3 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-05/0.147, allocations: 27.98 kB / 363.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.147, allocations: 55.7 kB / 363.4 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1471, allocations: 93.52 kB / 363.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.1476, allocations: 399.1 kB / 363.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1476, allocations: 0 / 363.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1476, allocations: 4 kB / 363.9 MB, free: 8.953 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.1476, allocations: 0 / 363.9 MB, free: 8.953 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009958/0.1486, allocations: 0.608 MB / 364.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.1487, allocations: 12.03 kB / 364.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.1489, allocations: 51.52 kB / 364.6 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1493, allocations: 298.3 kB / 364.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1493, allocations: 24.66 kB / 364.9 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.1494, allocations: 32 kB / 364.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.15, allocations: 353 kB / 365.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1501, allocations: 0 / 365.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.1501, allocations: 8 kB / 365.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1501, allocations: 8 kB / 365.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.1507, allocations: 278.5 kB / 365.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001936/0.1526, allocations: 1.28 MB / 366.8 MB, free: 5.844 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.1532, allocations: 315.7 kB / 367.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.1534, allocations: 92.83 kB / 367.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.1534, allocations: 3.984 kB / 367.2 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1535, allocations: 42.5 kB / 367.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.1535, allocations: 4 kB / 367.3 MB, free: 5.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001903/0.1554, allocations: 0.6807 MB / 368 MB, free: 4.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1554, allocations: 51.41 kB / 368 MB, free: 4.586 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.1558, allocations: 294.9 kB / 368.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.1558, allocations: 29.7 kB / 368.3 MB, free: 4.254 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.156, allocations: 219.7 kB / 368.5 MB, free: 4.035 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.156, allocations: 51.28 kB / 368.6 MB, free: 3.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.156, allocations: 4 kB / 368.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1562, allocations: 342.8 kB / 368.9 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.1564, allocations: 79.95 kB / 369 MB, free: 3.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.1566, allocations: 162.2 kB / 369.2 MB, free: 3.363 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.1568, allocations: 99.83 kB / 369.3 MB, free: 3.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1568, allocations: 4 kB / 369.3 MB, free: 3.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008803/0.1577, allocations: 425.9 kB / 369.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1577, allocations: 8.062 kB / 369.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1578, allocations: 4 kB / 369.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/0.1582, allocations: 108.8 kB / 369.8 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1583, allocations: 39.92 kB / 369.8 MB, free: 2.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.1611, allocations: 1.987 MB / 371.8 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.1613, allocations: 47.67 kB / 371.9 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.1613, allocations: 8 kB / 371.9 MB, free: 0.5039 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (22): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.1615, allocations: 157.8 kB / 372 MB, free: 348 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.1616, allocations: 31.58 kB / 372.1 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.711e-05/0.1616, allocations: 29.91 kB / 372.1 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1616, allocations: 0 / 372.1 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1616, allocations: 0 / 372.1 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1617, allocations: 0 / 372.1 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2883/0.45, allocations: 0.7346 MB / 372.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.45, allocations: 1.094 kB / 372.8 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4501, allocations: 16.64 kB / 372.9 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004075/0.4505, allocations: 109.8 kB / 373 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.4506, allocations: 1.641 kB / 373 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/0.4533, allocations: 1.984 MB / 374.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4533, allocations: 0.5625 kB / 374.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009761/0.4543, allocations: 433.5 kB / 375.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.4545, allocations: 108.8 kB / 375.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.4545, allocations: 1.891 kB / 375.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.4547, allocations: 29.36 kB / 375.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.4548, allocations: 11.09 kB / 375.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.4548, allocations: 8.516 kB / 375.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.4552, allocations: 205.8 kB / 375.7 MB, free: 17.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4552, allocations: 0 / 375.7 MB, free: 17.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006684/0.4559, allocations: 92.45 kB / 375.8 MB, free: 17.62 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 (8): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002129/0.4561, allocations: 102.5 kB / 375.9 MB, free: 17.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.4571, allocations: 351.6 kB / 376.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4571, allocations: 0 / 376.3 MB, free: 17.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.4576, allocations: 238.9 kB / 376.5 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.4582, allocations: 40.36 kB / 376.5 MB, free: 17.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.4596, allocations: 0.6924 MB / 377.2 MB, free: 16.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.46, allocations: 0.7677 MB / 378 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.281e-05/0.46, allocations: 20.38 kB / 378 MB, free: 16.2 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4601, allocations: 3.406 kB / 378 MB, free: 16.2 MB / 302.1 MB Notification: Performance of Templates: time 0.01111/0.4712, allocations: 4.672 MB / 382.7 MB, free: 15.89 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.AdderCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.AdderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.AdderCalcHelperMain.o] Error 1