Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001485/0.001485, allocations: 85.95 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001524/0.001525, allocations: 197.4 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.764/1.764, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002701, allocations: 8 kB / 307.3 MB, free: 1.367 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1385, allocations: 51.49 MB / 358.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003331/0.1419, allocations: 2.514 MB / 361.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.1434, allocations: 0.7327 MB / 362.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.1437, allocations: 4 kB / 362.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.1438, allocations: 31.7 kB / 362.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.144, allocations: 87.38 kB / 362.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.1443, allocations: 71.89 kB / 362.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.1448, allocations: 366.4 kB / 362.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.145, allocations: 105.7 kB / 362.7 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.1452, allocations: 123.5 kB / 362.8 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.1454, allocations: 139.4 kB / 363 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.1454, allocations: 16 kB / 363 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.27e-05/0.1455, allocations: 20 kB / 363 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.1455, allocations: 55.77 kB / 363.1 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.402e-05/0.1456, allocations: 81.52 kB / 363.1 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.146, allocations: 351.3 kB / 363.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.146, allocations: 0 / 363.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.146, allocations: 0 / 363.5 MB, free: 9.176 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.146, allocations: 0 / 363.5 MB, free: 9.176 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00119/0.1472, allocations: 0.6535 MB / 364.1 MB, free: 8.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1473, allocations: 12.03 kB / 364.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.1474, allocations: 31.62 kB / 364.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.1477, allocations: 282.5 kB / 364.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.1478, allocations: 20.52 kB / 364.5 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.1478, allocations: 28 kB / 364.5 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000715/0.1485, allocations: 339.6 kB / 364.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1486, allocations: 0 / 364.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.1486, allocations: 15.94 kB / 364.8 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.1486, allocations: 8 kB / 364.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007685/0.1494, allocations: 318 kB / 365.2 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.1513, allocations: 1.17 MB / 366.3 MB, free: 6.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.1521, allocations: 278.6 kB / 366.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.1524, allocations: 116.8 kB / 366.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.1524, allocations: 4 kB / 366.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004826/0.1529, allocations: 197.8 kB / 366.9 MB, free: 5.512 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.1529, allocations: 4 kB / 366.9 MB, free: 5.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002233/0.1552, allocations: 0.7405 MB / 367.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.1553, allocations: 118.8 kB / 367.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.1556, allocations: 282.6 kB / 368.1 MB, free: 4.316 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.1556, allocations: 29.7 kB / 368.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.1558, allocations: 199.6 kB / 368.3 MB, free: 4.082 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.1559, allocations: 47.36 kB / 368.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.1559, allocations: 4 kB / 368.3 MB, free: 4.031 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.156, allocations: 334.8 kB / 368.7 MB, free: 3.695 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.1564, allocations: 120.2 kB / 368.8 MB, free: 3.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.1567, allocations: 229.2 kB / 369 MB, free: 3.305 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.1571, allocations: 157.7 kB / 369.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.1571, allocations: 8 kB / 369.2 MB, free: 3.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001193/0.1583, allocations: 0.506 MB / 369.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.1584, allocations: 33.92 kB / 369.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.1584, allocations: 3.984 kB / 369.7 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000391/0.1588, allocations: 96.8 kB / 369.8 MB, free: 2.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.159, allocations: 59.89 kB / 369.9 MB, free: 2.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00265/0.1617, allocations: 1.916 MB / 371.8 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.1621, allocations: 59.88 kB / 371.8 MB, free: 312 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.1621, allocations: 15.98 kB / 371.8 MB, free: 296 kB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002216/0.1624, allocations: 149.7 kB / 372 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.1624, allocations: 23.72 kB / 372 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.1625, allocations: 29.83 kB / 372 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1625, allocations: 0 / 372 MB, free: 88 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1625, allocations: 3.953 kB / 372 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1625, allocations: 0 / 372 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3013/0.4639, allocations: 323.2 kB / 372.4 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4639, allocations: 0 / 372.4 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.4641, allocations: 27.61 kB / 372.4 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000374/0.4645, allocations: 85.06 kB / 372.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.4645, allocations: 3.938 kB / 372.5 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/0.4669, allocations: 1.826 MB / 374.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4669, allocations: 0 / 374.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.4681, allocations: 405.2 kB / 374.7 MB, free: 18.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.442e-05/0.4681, allocations: 103.3 kB / 374.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.4682, allocations: 3.719 kB / 374.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.4685, allocations: 48.5 kB / 374.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.4686, allocations: 18.97 kB / 374.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.4686, allocations: 2.984 kB / 374.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002769/0.4689, allocations: 202.9 kB / 375.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4689, allocations: 7.125 kB / 375.1 MB, free: 17.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005341/0.4694, allocations: 79.72 kB / 375.1 MB, free: 17.9 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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001595/0.4696, allocations: 103.2 kB / 375.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.4711, allocations: 0.5266 MB / 375.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4711, allocations: 3.828 kB / 375.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005359/0.4716, allocations: 250.3 kB / 376 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.4721, allocations: 51.3 kB / 376.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.4756, allocations: 1.122 MB / 377.2 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.4759, allocations: 0.7563 MB / 378 MB, free: 16.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.36e-05/0.476, allocations: 22.02 kB / 378 MB, free: 16.47 MB / 302.1 MB Notification: Performance of SimCode: time 1.203e-06/0.476, allocations: 0 / 378 MB, free: 16.47 MB / 302.1 MB Notification: Performance of Templates: time 0.01205/0.4881, allocations: 4.755 MB / 382.7 MB, free: 16.02 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifierCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifierCalcHelperMain.o] Error 1