Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 101.4 kB / 17.96 MB, free: 5.621 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.001115/0.001115, allocations: 176.1 kB / 18.86 MB, free: 4.777 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.778/1.778, 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.0005026/0.0005026, allocations: 20.42 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 47.58 MB / 329.6 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003292/0.1301, allocations: 2.286 MB / 331.9 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.1317, allocations: 0.71 MB / 332.6 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.1319, allocations: 4 kB / 332.6 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.1321, allocations: 23.78 kB / 332.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1323, allocations: 71.45 kB / 332.7 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.1326, allocations: 75.92 kB / 332.8 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.133, allocations: 314.6 kB / 333.1 MB, free: 252 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.1332, allocations: 65.16 kB / 333.2 MB, free: 192 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.1334, allocations: 99.56 kB / 333.3 MB, free: 92 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.1337, allocations: 139.4 kB / 333.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.1337, allocations: 12 kB / 333.4 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.316e-05/0.1338, allocations: 16 kB / 333.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.1338, allocations: 47.7 kB / 333.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.134, allocations: 141.1 kB / 333.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.1343, allocations: 227.5 kB / 333.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1343, allocations: 0 / 333.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.247e-06/0.1343, allocations: 0 / 333.8 MB, free: 15.51 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.1343, allocations: 0 / 333.8 MB, free: 15.51 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001397/0.1357, allocations: 0.591 MB / 334.4 MB, free: 14.86 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.1358, allocations: 8.031 kB / 334.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.109e-05/0.1359, allocations: 28.56 kB / 334.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.1363, allocations: 271.5 kB / 334.7 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.1363, allocations: 12.75 kB / 334.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.1364, allocations: 20.38 kB / 334.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006498/0.137, allocations: 256.6 kB / 335 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1371, allocations: 0 / 335 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.1371, allocations: 8 kB / 335 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1371, allocations: 8 kB / 335 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008408/0.138, allocations: 279.5 kB / 335.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.1396, allocations: 0.8442 MB / 336.1 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.1406, allocations: 274.5 kB / 336.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.1409, allocations: 108.8 kB / 336.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.1409, allocations: 4 kB / 336.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005568/0.1415, allocations: 185 kB / 336.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.687e-06/0.1415, allocations: 3.984 kB / 336.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002063/0.1436, allocations: 0.6551 MB / 337.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.131e-05/0.1437, allocations: 85.09 kB / 337.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.144, allocations: 233 kB / 337.7 MB, free: 11.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.144, allocations: 33.7 kB / 337.7 MB, free: 11.37 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1442, allocations: 163.9 kB / 337.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.545e-05/0.1442, allocations: 47.44 kB / 337.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.1443, allocations: 25.7 kB / 337.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1445, allocations: 326.8 kB / 338.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.1448, allocations: 107.9 kB / 338.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.1452, allocations: 162.7 kB / 338.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006943/0.1459, allocations: 287.3 kB / 338.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1459, allocations: 4 kB / 338.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001154/0.1471, allocations: 435.8 kB / 339.2 MB, free: 9.758 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.1472, allocations: 163.1 kB / 339.4 MB, free: 9.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.1473, allocations: 8.031 kB / 339.4 MB, free: 9.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/0.1478, allocations: 120.7 kB / 339.5 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.148, allocations: 51.95 kB / 339.6 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.1497, allocations: 1.499 MB / 341.1 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.15, allocations: 43.81 kB / 341.1 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.1501, allocations: 11.98 kB / 341.1 MB, free: 7.703 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1501, allocations: 4 kB / 341.1 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007143/0.1508, allocations: 302.3 kB / 341.4 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.1509, allocations: 0 / 341.4 MB, free: 7.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.735e-05/0.1509, allocations: 24.84 kB / 341.4 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1511, allocations: 55.91 kB / 341.5 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.1524, allocations: 1.373 MB / 342.9 MB, free: 5.805 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.1527, allocations: 47.94 kB / 342.9 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1527, allocations: 7.938 kB / 342.9 MB, free: 5.75 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002237/0.153, allocations: 209.1 kB / 343.1 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.153, allocations: 23.72 kB / 343.1 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.1531, allocations: 25.83 kB / 343.2 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1531, allocations: 0 / 343.2 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1531, allocations: 0 / 343.2 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.1531, allocations: 15.94 kB / 343.2 MB, free: 5.477 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.1534, allocations: 285.4 kB / 343.5 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1534, allocations: 0 / 343.5 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.1536, allocations: 35.97 kB / 343.5 MB, free: 5.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.1538, allocations: 56.77 kB / 343.6 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.1539, allocations: 7.984 kB / 343.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.1558, allocations: 1.491 MB / 345.1 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1559, allocations: 0 / 345.1 MB, free: 3.418 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.1571, allocations: 470 kB / 345.5 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.1571, allocations: 96.94 kB / 345.6 MB, free: 2.824 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.1572, allocations: 4.062 kB / 345.6 MB, free: 2.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.1574, allocations: 35.97 kB / 345.7 MB, free: 2.785 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.1575, allocations: 19.97 kB / 345.7 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1575, allocations: 7.938 kB / 345.7 MB, free: 2.758 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.1577, allocations: 172.5 kB / 345.8 MB, free: 2.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1577, allocations: 0 / 345.8 MB, free: 2.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004925/0.1582, allocations: 115.7 kB / 346 MB, free: 2.477 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001741/0.1584, allocations: 103.2 kB / 346.1 MB, free: 2.367 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.1598, allocations: 0.6834 MB / 346.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.1598, allocations: 0.6875 kB / 346.7 MB, free: 1.633 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004587/0.1603, allocations: 238.6 kB / 347 MB, free: 1.387 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.1607, allocations: 48.33 kB / 347 MB, free: 1.34 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1619, allocations: 0.648 MB / 347.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.1623, allocations: 0.7363 MB / 348.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.1624, allocations: 23.44 kB / 348.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1624, allocations: 0 / 348.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Templates: time 0.00672/0.1691, allocations: 3.905 MB / 352.3 MB, free: 11.97 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.OpAmps.IntegratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorCalcHelperMain.o] Error 1