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.001218/0.001218, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001423/0.001423, allocations: 194 kB / 18.72 MB, free: 4.762 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.834/1.834, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001178/0.001178, allocations: 51.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1291, allocations: 46.63 MB / 327.3 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004448/0.1336, allocations: 2.648 MB / 329.9 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1352, allocations: 0.71 MB / 330.6 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1353, allocations: 4 kB / 330.6 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.1355, allocations: 27.77 kB / 330.6 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1357, allocations: 75.44 kB / 330.7 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.136, allocations: 79.86 kB / 330.8 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000317/0.1363, allocations: 302.7 kB / 331.1 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.1365, allocations: 77.12 kB / 331.2 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.1368, allocations: 107.6 kB / 331.3 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.137, allocations: 135.4 kB / 331.4 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.1371, allocations: 16 kB / 331.4 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.51e-05/0.1371, allocations: 16 kB / 331.4 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.483e-05/0.1372, allocations: 59.69 kB / 331.5 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.1373, allocations: 119.3 kB / 331.6 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1376, allocations: 231.7 kB / 331.8 MB, free: 284 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1376, allocations: 3.938 kB / 331.8 MB, free: 280 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1376, allocations: 8 kB / 331.9 MB, free: 272 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1376, allocations: 0 / 331.9 MB, free: 272 kB / 270.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.001357/0.139, allocations: 0.6105 MB / 332.5 MB, free: 15.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.1391, allocations: 12.02 kB / 332.5 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.1391, allocations: 28.66 kB / 332.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1395, allocations: 271.3 kB / 332.8 MB, free: 15.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1395, allocations: 12.75 kB / 332.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.1396, allocations: 24.38 kB / 332.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.1402, allocations: 244.5 kB / 333 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1402, allocations: 0 / 333 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.1403, allocations: 8 kB / 333.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1403, allocations: 4 kB / 333.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007278/0.141, allocations: 243.6 kB / 333.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.1425, allocations: 0.8247 MB / 334.1 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008575/0.1434, allocations: 226.5 kB / 334.3 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.1437, allocations: 96.78 kB / 334.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1437, allocations: 4 kB / 334.4 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005636/0.1443, allocations: 153 kB / 334.6 MB, free: 13.33 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.1443, allocations: 0 / 334.6 MB, free: 13.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001778/0.1461, allocations: 0.5458 MB / 335.1 MB, free: 12.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.1462, allocations: 81.09 kB / 335.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.1465, allocations: 236.9 kB / 335.4 MB, free: 12.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.1465, allocations: 29.7 kB / 335.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1467, allocations: 167.9 kB / 335.6 MB, free: 12.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.1467, allocations: 39.45 kB / 335.7 MB, free: 12.17 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.835e-05/0.1468, allocations: 41.7 kB / 335.7 MB, free: 12.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.147, allocations: 334.8 kB / 336 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.1473, allocations: 100.7 kB / 336.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.1476, allocations: 138.8 kB / 336.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.1482, allocations: 250.6 kB / 336.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1482, allocations: 0 / 336.5 MB, free: 11.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001019/0.1493, allocations: 383.5 kB / 336.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.1493, allocations: 37.89 kB / 336.9 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.1493, allocations: 3.984 kB / 336.9 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004092/0.1497, allocations: 84.77 kB / 337 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.15, allocations: 59.83 kB / 337.1 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/0.1516, allocations: 1.448 MB / 338.5 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.1519, allocations: 39.84 kB / 338.6 MB, free: 9.051 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.152, allocations: 15.92 kB / 338.6 MB, free: 9.035 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003359/0.1523, allocations: 180.1 kB / 338.8 MB, free: 8.855 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002771/0.1526, allocations: 134.7 kB / 338.9 MB, free: 8.699 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004964/0.1531, allocations: 227 kB / 339.1 MB, free: 8.453 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.1531, allocations: 0 / 339.1 MB, free: 8.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007945/0.1539, allocations: 303.6 kB / 339.4 MB, free: 8.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.154, allocations: 37.88 kB / 339.4 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.154, allocations: 8 kB / 339.5 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.1542, allocations: 16.86 kB / 339.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.1544, allocations: 51.89 kB / 339.5 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.1557, allocations: 1.377 MB / 340.9 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.156, allocations: 39.84 kB / 340.9 MB, free: 6.469 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.156, allocations: 4 kB / 340.9 MB, free: 6.465 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.0002035/0.1562, allocations: 204.4 kB / 341.1 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.1563, allocations: 19.75 kB / 341.2 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.1563, allocations: 21.83 kB / 341.2 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1564, allocations: 4 kB / 341.2 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1564, allocations: 0 / 341.2 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1564, allocations: 0 / 341.2 MB, free: 6.219 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.1567, allocations: 285.4 kB / 341.5 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1567, allocations: 4 kB / 341.5 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.1569, allocations: 35.89 kB / 341.5 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.1571, allocations: 48.83 kB / 341.5 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1571, allocations: 0 / 341.5 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.1586, allocations: 1.436 MB / 343 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1586, allocations: 0 / 343 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.1597, allocations: 402.3 kB / 343.4 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.1597, allocations: 104.8 kB / 343.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.1598, allocations: 7.984 kB / 343.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.16, allocations: 23.97 kB / 343.5 MB, free: 3.66 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.1601, allocations: 19.92 kB / 343.5 MB, free: 3.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1601, allocations: 12.05 kB / 343.5 MB, free: 3.629 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.1603, allocations: 172.5 kB / 343.7 MB, free: 3.461 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1603, allocations: 0 / 343.7 MB, free: 3.461 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005087/0.1608, allocations: 111.7 kB / 343.8 MB, free: 3.352 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.0001521/0.161, allocations: 103.2 kB / 343.9 MB, free: 3.242 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.1623, allocations: 0.6443 MB / 344.6 MB, free: 2.547 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1623, allocations: 0.75 kB / 344.6 MB, free: 2.547 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.1628, allocations: 218.6 kB / 344.8 MB, free: 2.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.1632, allocations: 40.34 kB / 344.8 MB, free: 2.281 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1644, allocations: 0.6035 MB / 345.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.1647, allocations: 0.744 MB / 346.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.83e-05/0.1648, allocations: 15.44 kB / 346.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1648, allocations: 0 / 346.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of Templates: time 0.006796/0.1716, allocations: 3.914 MB / 350.1 MB, free: 12.95 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