Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,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.HighPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,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.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001604, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001589/0.001588, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.814/1.814, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001181/0.001181, allocations: 47.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1084, allocations: 46.63 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005106/0.1135, allocations: 2.857 MB / 330.1 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1153, allocations: 0.7566 MB / 330.9 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.1156, allocations: 4 kB / 330.9 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.1158, allocations: 35.75 kB / 330.9 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.116, allocations: 83.31 kB / 331 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.1164, allocations: 87.91 kB / 331.1 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.1168, allocations: 370.4 kB / 331.4 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.117, allocations: 85.16 kB / 331.5 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.1173, allocations: 135.4 kB / 331.7 MB, free: 468 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002294/0.1175, allocations: 155.3 kB / 331.8 MB, free: 312 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.756e-05/0.1176, allocations: 23.94 kB / 331.8 MB, free: 288 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.768e-05/0.1176, allocations: 23.94 kB / 331.9 MB, free: 264 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.1177, allocations: 55.75 kB / 331.9 MB, free: 208 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.1179, allocations: 139.3 kB / 332 MB, free: 68 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.1182, allocations: 271.5 kB / 332.3 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1182, allocations: 0 / 332.3 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1182, allocations: 0 / 332.3 MB, free: 15.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1182, allocations: 4 kB / 332.3 MB, free: 15.8 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001446/0.1197, allocations: 0.6691 MB / 333 MB, free: 15.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1197, allocations: 12.03 kB / 333 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.1198, allocations: 36.55 kB / 333 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.1202, allocations: 276.6 kB / 333.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.1203, allocations: 20.94 kB / 333.3 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.1203, allocations: 24.38 kB / 333.3 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/0.121, allocations: 265.1 kB / 333.6 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.121, allocations: 4 kB / 333.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.1211, allocations: 8 kB / 333.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.1211, allocations: 4 kB / 333.6 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.1218, allocations: 274 kB / 333.9 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.1235, allocations: 0.9133 MB / 334.8 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.1242, allocations: 246.5 kB / 335 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.1245, allocations: 104.7 kB / 335.1 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1246, allocations: 0 / 335.1 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000548/0.1251, allocations: 181.8 kB / 335.3 MB, free: 12.58 MB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.1251, allocations: 0 / 335.3 MB, free: 12.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.002014/0.1271, allocations: 0.6164 MB / 335.9 MB, free: 11.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.1272, allocations: 110.8 kB / 336 MB, free: 11.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1275, allocations: 270.5 kB / 336.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1275, allocations: 29.7 kB / 336.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1277, allocations: 179.8 kB / 336.5 MB, free: 11.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.1277, allocations: 55.28 kB / 336.6 MB, free: 11.26 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.1278, allocations: 49.61 kB / 336.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.128, allocations: 338.8 kB / 336.9 MB, free: 10.87 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.1283, allocations: 101 kB / 337 MB, free: 10.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.1287, allocations: 168.1 kB / 337.2 MB, free: 10.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.1293, allocations: 263.5 kB / 337.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1293, allocations: 0 / 337.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001031/0.1303, allocations: 427.4 kB / 337.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.1304, allocations: 37.89 kB / 337.9 MB, free: 9.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.1304, allocations: 3.938 kB / 337.9 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/0.1309, allocations: 112.7 kB / 338 MB, free: 9.695 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.1311, allocations: 47.91 kB / 338.1 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002185/0.1333, allocations: 1.69 MB / 339.8 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.1336, allocations: 51.81 kB / 339.8 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.1336, allocations: 8 kB / 339.8 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004019/0.134, allocations: 188.3 kB / 340 MB, free: 7.574 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002928/0.1343, allocations: 148.1 kB / 340.2 MB, free: 7.402 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004902/0.1348, allocations: 247.4 kB / 340.4 MB, free: 7.133 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.1348, allocations: 0 / 340.4 MB, free: 7.133 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization_lambda0): time 0.0007894/0.1356, allocations: 351.6 kB / 340.7 MB, free: 6.773 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.1357, allocations: 37.7 kB / 340.8 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1357, allocations: 4 kB / 340.8 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.1358, allocations: 40.83 kB / 340.8 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.136, allocations: 44.03 kB / 340.9 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.1374, allocations: 1.542 MB / 342.4 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.1377, allocations: 55.89 kB / 342.5 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1378, allocations: 11.98 kB / 342.5 MB, free: 4.895 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 (21): * Single equations (assignments): 19 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.1379, allocations: 196.3 kB / 342.7 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.138, allocations: 19.72 kB / 342.7 MB, free: 4.676 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.211e-05/0.138, allocations: 34.11 kB / 342.7 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.138, allocations: 7.938 kB / 342.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1381, allocations: 4 kB / 342.7 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1381, allocations: 0 / 342.7 MB, free: 4.629 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/0.1384, allocations: 317.2 kB / 343 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1384, allocations: 0 / 343 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.1386, allocations: 27.97 kB / 343.1 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.1388, allocations: 68.8 kB / 343.1 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.1389, allocations: 4 kB / 343.1 MB, free: 4.168 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.1406, allocations: 1.593 MB / 344.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1406, allocations: 0 / 344.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1418, allocations: 445.3 kB / 345.2 MB, free: 1.988 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.319e-05/0.1419, allocations: 92.89 kB / 345.3 MB, free: 1.879 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.1419, allocations: 8 kB / 345.3 MB, free: 1.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.1422, allocations: 27.95 kB / 345.3 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/0.1423, allocations: 27.91 kB / 345.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1423, allocations: 8.062 kB / 345.3 MB, free: 1.809 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.1425, allocations: 194 kB / 345.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1425, allocations: 0 / 345.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005602/0.1431, allocations: 139.6 kB / 345.7 MB, free: 1.484 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001787/0.1432, allocations: 115.1 kB / 345.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.1447, allocations: 0.7002 MB / 346.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1447, allocations: 0 / 346.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004584/0.1452, allocations: 238.6 kB / 346.7 MB, free: 372 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.1456, allocations: 44.52 kB / 346.7 MB, free: 328 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.1469, allocations: 0.655 MB / 347.4 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.1473, allocations: 0.76 MB / 348.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.1474, allocations: 19.44 kB / 348.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1474, allocations: 0 / 348.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Templates: time 0.008035/0.1554, allocations: 4.503 MB / 352.7 MB, free: 10.31 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPassCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPassCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.HighPassCalcHelperMain.o] Error 1