Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0026/0.002605, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.402/3.402, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002577/0.002577, allocations: 106.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006141/0.0006144, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1972, allocations: 47.58 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.005648/0.2029, allocations: 2.186 MB / 376.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.2056, allocations: 0.7064 MB / 377.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00034/0.206, allocations: 4 kB / 377.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001254/0.2062, allocations: 31.77 kB / 377.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004788/0.2067, allocations: 99.66 kB / 377.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.2072, allocations: 71.84 kB / 377.7 MB, free: 12.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009421/0.2081, allocations: 223.6 kB / 377.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.2085, allocations: 73.08 kB / 377.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.2089, allocations: 107.5 kB / 378 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.2092, allocations: 127.5 kB / 378.2 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.521e-05/0.2093, allocations: 16 kB / 378.2 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.2094, allocations: 16 kB / 378.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2095, allocations: 51.75 kB / 378.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.2097, allocations: 77.52 kB / 378.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.2103, allocations: 231.6 kB / 378.6 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2103, allocations: 0 / 378.6 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.2103, allocations: 4 kB / 378.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2104, allocations: 4 kB / 378.6 MB, free: 11.39 MB / 282.7 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.002645/0.213, allocations: 0.6067 MB / 379.2 MB, free: 10.72 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/0.2131, allocations: 8.031 kB / 379.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.2133, allocations: 31.62 kB / 379.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.2141, allocations: 270.3 kB / 379.5 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.2142, allocations: 16.44 kB / 379.5 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.433e-05/0.2143, allocations: 20 kB / 379.5 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.216, allocations: 263.1 kB / 379.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.2161, allocations: 3.938 kB / 379.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/0.2162, allocations: 8 kB / 379.8 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.2162, allocations: 8 kB / 379.8 MB, free: 10.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/0.218, allocations: 281.6 kB / 380.1 MB, free: 9.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.2219, allocations: 0.8855 MB / 380.9 MB, free: 8.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.224, allocations: 278.5 kB / 381.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/0.2241, allocations: 0 / 381.2 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009923/0.2252, allocations: 185.8 kB / 381.4 MB, free: 8.348 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 3.186e-06/0.2252, allocations: 0 / 381.4 MB, free: 8.348 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.005207/0.2304, allocations: 0.7022 MB / 382.1 MB, free: 7.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.2306, allocations: 114.7 kB / 382.2 MB, free: 7.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006411/0.2313, allocations: 257 kB / 382.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.662e-05/0.2314, allocations: 33.7 kB / 382.5 MB, free: 7.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.2316, allocations: 234.2 kB / 382.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.101e-05/0.2317, allocations: 39.45 kB / 382.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.2318, allocations: 4 kB / 382.8 MB, free: 6.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.232, allocations: 322.8 kB / 383.1 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007189/0.2327, allocations: 99.94 kB / 383.2 MB, free: 6.484 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.2339, allocations: 171.6 kB / 383.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000765/0.2347, allocations: 149.5 kB / 383.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.2347, allocations: 0 / 383.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.002782/0.2375, allocations: 451.8 kB / 383.9 MB, free: 5.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005222/0.2381, allocations: 0.6392 MB / 384.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2381, allocations: 4 kB / 384.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.2388, allocations: 80.8 kB / 384.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.2393, allocations: 47.91 kB / 384.7 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/0.2443, allocations: 1.772 MB / 386.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007477/0.2451, allocations: 51.81 kB / 386.5 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.2452, allocations: 8.062 kB / 386.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2452, allocations: 7.938 kB / 386.5 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00169/0.2469, allocations: 314.3 kB / 386.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.247, allocations: 7.938 kB / 386.9 MB, free: 2.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.2472, allocations: 40.83 kB / 386.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.2479, allocations: 51.89 kB / 386.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.2507, allocations: 1.546 MB / 388.5 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007792/0.2515, allocations: 47.84 kB / 388.5 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.2516, allocations: 8 kB / 388.5 MB, free: 0.7266 MB / 282.7 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.0004171/0.2521, allocations: 216.9 kB / 388.8 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.2522, allocations: 27.67 kB / 388.8 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.2523, allocations: 33.81 kB / 388.8 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.2523, allocations: 0 / 388.8 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2523, allocations: 0 / 388.8 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.2524, allocations: 0 / 388.8 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.253, allocations: 285.5 kB / 389.1 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.253, allocations: 0 / 389.1 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.2533, allocations: 39.92 kB / 389.1 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/0.2539, allocations: 68.8 kB / 389.2 MB, free: 8 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.084e-05/0.2539, allocations: 8 kB / 389.2 MB, free: 0 / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4213/0.6752, allocations: 1.658 MB / 390.9 MB, free: 19.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6753, allocations: 4.969 kB / 390.9 MB, free: 19.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.6775, allocations: 367.1 kB / 391.2 MB, free: 19.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.6777, allocations: 105.5 kB / 391.3 MB, free: 19.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.833e-05/0.6778, allocations: 8.672 kB / 391.3 MB, free: 19.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.6783, allocations: 34.36 kB / 391.4 MB, free: 19.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.6786, allocations: 20.78 kB / 391.4 MB, free: 19.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/0.6787, allocations: 4.297 kB / 391.4 MB, free: 19.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005031/0.6793, allocations: 187 kB / 391.6 MB, free: 19.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.292e-06/0.6793, allocations: 0 / 391.6 MB, free: 19.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001308/0.6806, allocations: 124.1 kB / 391.7 MB, free: 19.14 MB / 282.7 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.0002427/0.6809, allocations: 102 kB / 391.8 MB, free: 19.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003353/0.6843, allocations: 0.7319 MB / 392.5 MB, free: 18.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.6843, allocations: 0 / 392.5 MB, free: 18.7 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009802/0.6853, allocations: 254.4 kB / 392.8 MB, free: 18.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.6863, allocations: 43.06 kB / 392.8 MB, free: 18.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.6884, allocations: 0.5398 MB / 393.4 MB, free: 18.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.6888, allocations: 0.7594 MB / 394.1 MB, free: 17.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.689, allocations: 17.84 kB / 394.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.689, allocations: 0 / 394.1 MB, free: 17.56 MB / 282.7 MB Notification: Performance of Templates: time 0.0175/0.7066, allocations: 4.029 MB / 398.2 MB, free: 17.4 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile b'clang++ -fopenmp=libomp -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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.cpp:31:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpJacobian.cpp:73:26: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(4) = ((__HOM_LAMBDA_ * tmp30) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(3)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpJacobian.cpp:73:59: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(4) = ((__HOM_LAMBDA_ * tmp30) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(3)));\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.o] Error 1\n'