Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 98.39 kB / 17.96 MB, free: 5.77 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.001357/0.001358, allocations: 177.3 kB / 18.86 MB, free: 4.906 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.877/1.877, 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.0004781/0.0004783, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1146, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003339/0.1179, allocations: 2.376 MB / 332 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1193, allocations: 0.7139 MB / 332.7 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1194, allocations: 11.94 kB / 332.7 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.1196, allocations: 27.77 kB / 332.7 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.1197, allocations: 75.45 kB / 332.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.12, allocations: 83.86 kB / 332.9 MB, free: 464 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.1204, allocations: 326.6 kB / 333.2 MB, free: 136 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.1206, allocations: 73.14 kB / 333.3 MB, free: 68 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1208, allocations: 115.4 kB / 333.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.121, allocations: 135.3 kB / 333.5 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.29e-05/0.121, allocations: 12 kB / 333.5 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.818e-05/0.1211, allocations: 16 kB / 333.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.1211, allocations: 51.77 kB / 333.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.1213, allocations: 149 kB / 333.8 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1215, allocations: 235.6 kB / 334 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1215, allocations: 0 / 334 MB, free: 15.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.558e-06/0.1216, allocations: 0 / 334 MB, free: 15.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1216, allocations: 7.938 kB / 334 MB, free: 15.35 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001281/0.1229, allocations: 0.6107 MB / 334.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1229, allocations: 8.031 kB / 334.6 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.015e-05/0.123, allocations: 36.55 kB / 334.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.1233, allocations: 263.6 kB / 334.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1234, allocations: 12.81 kB / 334.9 MB, free: 14.33 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.1234, allocations: 20.38 kB / 334.9 MB, free: 14.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006392/0.1241, allocations: 263.5 kB / 335.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1241, allocations: 0 / 335.2 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.1241, allocations: 20 kB / 335.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1241, allocations: 4 kB / 335.2 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008187/0.125, allocations: 293.5 kB / 335.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.1268, allocations: 0.8436 MB / 336.4 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007661/0.1276, allocations: 307.7 kB / 336.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.128, allocations: 104.8 kB / 336.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.1281, allocations: 7.938 kB / 336.8 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/0.1286, allocations: 177.8 kB / 336.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.804e-06/0.1286, allocations: 0 / 336.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.002047/0.1306, allocations: 0.6434 MB / 337.6 MB, free: 11.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.322e-05/0.1307, allocations: 106.8 kB / 337.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.1311, allocations: 266.6 kB / 337.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1311, allocations: 25.7 kB / 338 MB, free: 11.09 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1313, allocations: 191.6 kB / 338.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.1313, allocations: 31.55 kB / 338.2 MB, free: 10.87 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.1313, allocations: 29.7 kB / 338.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1315, allocations: 338.8 kB / 338.5 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.1318, allocations: 107.9 kB / 338.7 MB, free: 10.39 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.1322, allocations: 208.7 kB / 338.9 MB, free: 10.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007052/0.133, allocations: 324.6 kB / 339.2 MB, free: 9.773 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.133, allocations: 4 kB / 339.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001175/0.1342, allocations: 463.8 kB / 339.6 MB, free: 9.301 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.1343, allocations: 212.9 kB / 339.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1343, allocations: 0 / 339.8 MB, free: 9.043 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004877/0.1348, allocations: 128.7 kB / 340 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.1351, allocations: 51.97 kB / 340 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.1369, allocations: 1.499 MB / 341.5 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.1373, allocations: 63.77 kB / 341.6 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.1373, allocations: 16 kB / 341.6 MB, free: 7.145 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.587e-06/0.1373, allocations: 7.938 kB / 341.6 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007685/0.1381, allocations: 318.4 kB / 341.9 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1381, allocations: 7.938 kB / 341.9 MB, free: 6.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.246e-05/0.1382, allocations: 20.86 kB / 341.9 MB, free: 6.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.1384, allocations: 59.95 kB / 342 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.1395, allocations: 1.393 MB / 343.4 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.1398, allocations: 51.84 kB / 343.4 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.1398, allocations: 8 kB / 343.4 MB, free: 5.141 MB / 286.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 (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 (23): * Single equations (assignments): 21 * 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.0002344/0.14, allocations: 217.1 kB / 343.7 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.1401, allocations: 23.72 kB / 343.7 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.409e-05/0.1401, allocations: 21.7 kB / 343.7 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1401, allocations: 0 / 343.7 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1402, allocations: 3.938 kB / 343.7 MB, free: 4.875 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1402, allocations: 4 kB / 343.7 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.1414, allocations: 0.6672 MB / 344.4 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1414, allocations: 0 / 344.4 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.1415, allocations: 31.97 kB / 344.4 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.1417, allocations: 56.83 kB / 344.5 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1418, allocations: 0 / 344.5 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.1433, allocations: 1.491 MB / 346 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1433, allocations: 0 / 346 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/0.1443, allocations: 411.8 kB / 346.4 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.337e-05/0.1444, allocations: 100.9 kB / 346.5 MB, free: 1.891 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.1444, allocations: 3.938 kB / 346.5 MB, free: 1.887 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.1447, allocations: 43.97 kB / 346.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.1448, allocations: 15.97 kB / 346.5 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1448, allocations: 4 kB / 346.5 MB, free: 1.824 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.145, allocations: 190 kB / 346.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.145, allocations: 0 / 346.7 MB, free: 1.637 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005629/0.1456, allocations: 119.7 kB / 346.8 MB, free: 1.52 MB / 286.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 (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.0001689/0.1457, allocations: 103.2 kB / 346.9 MB, free: 1.41 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.1471, allocations: 0.7035 MB / 347.6 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1472, allocations: 3.938 kB / 347.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.1476, allocations: 227.2 kB / 347.9 MB, free: 428 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.148, allocations: 48.59 kB / 347.9 MB, free: 380 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.149, allocations: 0.5664 MB / 348.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1494, allocations: 0.7483 MB / 349.2 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.1495, allocations: 19.44 kB / 349.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1495, allocations: 0 / 349.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of Templates: time 0.006315/0.1558, allocations: 4.127 MB / 353.4 MB, free: 10.86 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.VoltageFollowerCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerCalcHelperMain.o] Error 1