Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000837/0.0008371, allocations: 92.22 kB / 17.58 MB, free: 5.801 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.0009669/0.0009671, allocations: 181.5 kB / 18.48 MB, free: 5.254 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.646/1.646, allocations: 205.4 MB / 224.6 MB, free: 13 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.0004596/0.0004598, allocations: 12 kB / 281.4 MB, free: 3.707 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09522, allocations: 47.57 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003106/0.09837, allocations: 2.725 MB / 331.7 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.09988, allocations: 0.9405 MB / 332.6 MB, free: 384 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.1, allocations: 8 kB / 332.7 MB, free: 376 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.1002, allocations: 43.61 kB / 332.7 MB, free: 332 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.1006, allocations: 119.2 kB / 332.8 MB, free: 212 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1008, allocations: 99.8 kB / 332.9 MB, free: 112 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.1013, allocations: 442.1 kB / 333.3 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.1015, allocations: 102.4 kB / 333.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.1018, allocations: 155.4 kB / 333.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.102, allocations: 183.2 kB / 333.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.102, allocations: 24 kB / 333.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1022, allocations: 47.97 kB / 333.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.1022, allocations: 75.67 kB / 333.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.1023, allocations: 93.52 kB / 334 MB, free: 14.99 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.1027, allocations: 367.2 kB / 334.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1027, allocations: 0 / 334.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1027, allocations: 0 / 334.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1027, allocations: 0 / 334.4 MB, free: 14.63 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001043/0.1037, allocations: 0.6857 MB / 335 MB, free: 13.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.1038, allocations: 8.031 kB / 335.1 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.1039, allocations: 47.44 kB / 335.1 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.1042, allocations: 290.3 kB / 335.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.1043, allocations: 32.61 kB / 335.4 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.55e-05/0.1044, allocations: 31.91 kB / 335.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.105, allocations: 361 kB / 335.8 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.105, allocations: 3.938 kB / 335.8 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.105, allocations: 12 kB / 335.8 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.105, allocations: 8 kB / 335.8 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004666/0.1055, allocations: 246.5 kB / 336.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.1073, allocations: 1.178 MB / 337.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/0.1079, allocations: 299.7 kB / 337.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/0.1083, allocations: 217.2 kB / 337.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007642/0.1091, allocations: 1.117 MB / 338.9 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.1092, allocations: 42.8 kB / 338.9 MB, free: 9.629 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 1.753e-06/0.1092, allocations: 4 kB / 338.9 MB, free: 9.625 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001266/0.1104, allocations: 0.5476 MB / 339.5 MB, free: 9.051 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1105, allocations: 77.11 kB / 339.5 MB, free: 8.957 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.1108, allocations: 345.5 kB / 339.9 MB, free: 8.613 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.1109, allocations: 33.7 kB / 339.9 MB, free: 8.574 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.111, allocations: 208.1 kB / 340.1 MB, free: 8.367 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.1111, allocations: 106.6 kB / 340.2 MB, free: 8.262 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/0.1111, allocations: 8 kB / 340.2 MB, free: 8.254 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1113, allocations: 346.8 kB / 340.6 MB, free: 7.906 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.1116, allocations: 108.7 kB / 340.7 MB, free: 7.797 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.1119, allocations: 186 kB / 340.8 MB, free: 7.586 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.1121, allocations: 143.4 kB / 341 MB, free: 7.445 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1121, allocations: 0 / 341 MB, free: 7.445 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007506/0.1129, allocations: 433.5 kB / 341.4 MB, free: 7.012 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1129, allocations: 8.188 kB / 341.4 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1129, allocations: 8 kB / 341.4 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/0.1132, allocations: 60.81 kB / 341.5 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.1135, allocations: 83.83 kB / 341.6 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.1152, allocations: 1.752 MB / 343.3 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.1154, allocations: 47.58 kB / 343.4 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.1155, allocations: 12 kB / 343.4 MB, free: 4.91 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001723/0.1156, allocations: 153.7 kB / 343.5 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.1157, allocations: 43.52 kB / 343.6 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006729/0.1164, allocations: 342.4 kB / 343.9 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.1164, allocations: 4 kB / 343.9 MB, free: 4.355 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.1164, allocations: 4.141 kB / 343.9 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1164, allocations: 0 / 343.9 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.1168, allocations: 397.2 kB / 344.3 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1169, allocations: 0 / 344.3 MB, free: 3.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.1172, allocations: 55.91 kB / 344.4 MB, free: 3.859 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000178/0.1174, allocations: 60.81 kB / 344.4 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.1174, allocations: 4 kB / 344.4 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004155/0.1178, allocations: 0.6186 MB / 345 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1178, allocations: 4.031 kB / 345 MB, free: 3.145 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.1187, allocations: 0.5405 MB / 345.6 MB, free: 2.586 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.1188, allocations: 132.6 kB / 345.7 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.1189, allocations: 8 kB / 345.7 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.1191, allocations: 31.97 kB / 345.8 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1192, allocations: 15.98 kB / 345.8 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.1192, allocations: 11.98 kB / 345.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.1194, allocations: 231.2 kB / 346 MB, free: 2.152 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1194, allocations: 0 / 346 MB, free: 2.152 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.1199, allocations: 111.8 kB / 346.1 MB, free: 2.043 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001943/0.1201, allocations: 139.2 kB / 346.2 MB, free: 1.895 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007769/0.1208, allocations: 422.3 kB / 346.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.341e-06/0.1209, allocations: 4 kB / 346.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.1212, allocations: 143.8 kB / 346.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.1216, allocations: 49.88 kB / 346.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.123, allocations: 1.068 MB / 347.9 MB, free: 176 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1233, allocations: 0.7952 MB / 348.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.031e-05/0.1234, allocations: 23.44 kB / 348.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1234, allocations: 4 kB / 348.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Templates: time 0.007354/0.1308, allocations: 5.366 MB / 354.1 MB, free: 9.957 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailedCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.o] Error 1