Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,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.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,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.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008585/0.0008585, allocations: 93.78 kB / 17.59 MB, free: 6.168 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.0009905/0.0009907, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.59/1.59, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004342/0.0004342, allocations: 12 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09702, allocations: 47.59 MB / 329 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.002643/0.09969, allocations: 2.295 MB / 331.3 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1008, allocations: 0.6868 MB / 332 MB, free: 1.055 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.101, allocations: 7.938 kB / 332 MB, free: 1.047 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.1011, allocations: 27.77 kB / 332 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.1013, allocations: 71.39 kB / 332.1 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1016, allocations: 71.92 kB / 332.2 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.1019, allocations: 310.6 kB / 332.5 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.1021, allocations: 73.06 kB / 332.5 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.1022, allocations: 111.5 kB / 332.6 MB, free: 408 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.1024, allocations: 131.4 kB / 332.8 MB, free: 276 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.1024, allocations: 12 kB / 332.8 MB, free: 264 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.004e-05/0.1025, allocations: 16 kB / 332.8 MB, free: 248 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.1026, allocations: 55.69 kB / 332.8 MB, free: 192 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.091e-05/0.1026, allocations: 73.58 kB / 332.9 MB, free: 112 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.1029, allocations: 231.6 kB / 333.1 MB, free: 15.88 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1029, allocations: 0 / 333.1 MB, free: 15.88 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1029, allocations: 4 kB / 333.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1029, allocations: 0 / 333.2 MB, free: 15.88 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.001081/0.104, allocations: 0.6067 MB / 333.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1041, allocations: 12.02 kB / 333.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.698e-05/0.1042, allocations: 31.62 kB / 333.8 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1045, allocations: 270.2 kB / 334.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1045, allocations: 20.44 kB / 334.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.453e-05/0.1046, allocations: 16 kB / 334.1 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.1051, allocations: 259.2 kB / 334.4 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1051, allocations: 4 kB / 334.4 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1052, allocations: 4 kB / 334.4 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1052, allocations: 8 kB / 334.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/0.1059, allocations: 285.5 kB / 334.6 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.1073, allocations: 0.8816 MB / 335.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006567/0.108, allocations: 270.5 kB / 335.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.1083, allocations: 116.8 kB / 335.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.1083, allocations: 7.953 kB / 335.9 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004555/0.1088, allocations: 189.8 kB / 336.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.1088, allocations: 0 / 336.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001799/0.1106, allocations: 0.7098 MB / 336.8 MB, free: 11.98 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.1106, allocations: 110.8 kB / 336.9 MB, free: 11.85 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.1109, allocations: 253 kB / 337.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1109, allocations: 29.7 kB / 337.2 MB, free: 11.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.111, allocations: 175.8 kB / 337.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.1111, allocations: 47.44 kB / 337.4 MB, free: 11.33 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.1111, allocations: 0 / 337.4 MB, free: 11.33 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1112, allocations: 334.8 kB / 337.7 MB, free: 11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.1115, allocations: 107.9 kB / 337.8 MB, free: 10.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1118, allocations: 171.6 kB / 338 MB, free: 10.7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1121, allocations: 153.5 kB / 338.2 MB, free: 10.54 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1121, allocations: 0 / 338.2 MB, free: 10.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009393/0.1131, allocations: 462.5 kB / 338.6 MB, free: 10.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.1132, allocations: 163.9 kB / 338.8 MB, free: 9.883 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1132, allocations: 0 / 338.8 MB, free: 9.883 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003104/0.1135, allocations: 72.81 kB / 338.8 MB, free: 9.809 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.1137, allocations: 59.89 kB / 338.9 MB, free: 9.75 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.1155, allocations: 1.74 MB / 340.6 MB, free: 7.871 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.1157, allocations: 59.86 kB / 340.7 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1158, allocations: 7.984 kB / 340.7 MB, free: 7.805 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.1158, allocations: 4 kB / 340.7 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006282/0.1164, allocations: 314.1 kB / 341 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1164, allocations: 8.188 kB / 341 MB, free: 7.477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.294e-05/0.1165, allocations: 36.84 kB / 341.1 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1167, allocations: 47.86 kB / 341.1 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.1177, allocations: 1.534 MB / 342.6 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.118, allocations: 47.88 kB / 342.7 MB, free: 5.676 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.118, allocations: 8 kB / 342.7 MB, free: 5.668 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 ($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 (18): * Single equations (assignments): 16 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.1182, allocations: 220.5 kB / 342.9 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.1182, allocations: 27.67 kB / 342.9 MB, free: 5.418 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.1182, allocations: 25.83 kB / 343 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1183, allocations: 4 kB / 343 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1183, allocations: 0 / 343 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1183, allocations: 0 / 343 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.1185, allocations: 301.3 kB / 343.3 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1185, allocations: 0 / 343.3 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.1187, allocations: 27.94 kB / 343.3 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.1189, allocations: 84.78 kB / 343.4 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1189, allocations: 4 kB / 343.4 MB, free: 4.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.1203, allocations: 1.64 MB / 345 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1203, allocations: 0 / 345 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.1211, allocations: 365.5 kB / 345.4 MB, free: 2.781 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.1211, allocations: 100.9 kB / 345.5 MB, free: 2.664 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.1212, allocations: 7.984 kB / 345.5 MB, free: 2.656 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.1214, allocations: 35.97 kB / 345.5 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/0.1215, allocations: 27.91 kB / 345.5 MB, free: 2.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.1215, allocations: 11.95 kB / 345.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.1217, allocations: 184.5 kB / 345.7 MB, free: 2.406 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1217, allocations: 0 / 345.7 MB, free: 2.406 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004939/0.1222, allocations: 123.7 kB / 345.9 MB, free: 2.285 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 (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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001218/0.1223, allocations: 107.2 kB / 346 MB, free: 2.168 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.1235, allocations: 0.7303 MB / 346.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1235, allocations: 0 / 346.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003895/0.1239, allocations: 250.8 kB / 346.9 MB, free: 1.133 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1242, allocations: 40.73 kB / 347 MB, free: 1.094 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.1253, allocations: 0.558 MB / 347.5 MB, free: 0.5 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.1256, allocations: 0.7444 MB / 348.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.1257, allocations: 19.44 kB / 348.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1257, allocations: 4 kB / 348.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of Templates: time 0.006642/0.1324, allocations: 4.14 MB / 352.4 MB, free: 11.56 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.o] Error 1