Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003177/0.003184, allocations: 186.9 kB / 16.4 MB, free: 5.621 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.637/3.637, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001879/0.001879, allocations: 98.84 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006545/0.0006544, allocations: 16 kB / 327 MB, free: 15.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2118, allocations: 47.58 MB / 374.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.006084/0.218, allocations: 2.287 MB / 376.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.2209, allocations: 0.7376 MB / 377.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.2213, allocations: 4 kB / 377.6 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.2215, allocations: 35.7 kB / 377.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006594/0.2221, allocations: 111.6 kB / 377.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.2227, allocations: 71.91 kB / 377.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008242/0.2236, allocations: 255.3 kB / 378 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.224, allocations: 73.03 kB / 378.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.2244, allocations: 123.5 kB / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.2248, allocations: 143.4 kB / 378.4 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.14e-05/0.225, allocations: 16 kB / 378.4 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.2251, allocations: 16 kB / 378.4 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.2252, allocations: 55.75 kB / 378.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.2254, allocations: 73.58 kB / 378.5 MB, free: 11.4 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006232/0.226, allocations: 267.5 kB / 378.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2261, allocations: 0 / 378.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.2261, allocations: 0 / 378.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.559e-06/0.2261, allocations: 0 / 378.8 MB, free: 11.14 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002562/0.2287, allocations: 0.634 MB / 379.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.2288, allocations: 12.03 kB / 379.4 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.229, allocations: 31.62 kB / 379.5 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007695/0.2298, allocations: 275.6 kB / 379.7 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.2299, allocations: 16.56 kB / 379.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.23, allocations: 24 kB / 379.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.2317, allocations: 272.8 kB / 380 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.2318, allocations: 0 / 380 MB, free: 9.777 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.2318, allocations: 11.98 kB / 380.1 MB, free: 9.766 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.2319, allocations: 7.938 kB / 380.1 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.234, allocations: 298.1 kB / 380.4 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003909/0.238, allocations: 0.9483 MB / 381.3 MB, free: 8.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.2401, allocations: 278.6 kB / 381.6 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.269e-05/0.2402, allocations: 3.984 kB / 381.6 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.2413, allocations: 190.6 kB / 381.8 MB, free: 7.957 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 5.28e-06/0.2414, allocations: 0 / 381.8 MB, free: 7.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.005366/0.2468, allocations: 0.7426 MB / 382.5 MB, free: 7.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.2469, allocations: 110.8 kB / 382.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006708/0.2476, allocations: 262.6 kB / 382.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.254e-05/0.2477, allocations: 29.7 kB / 382.9 MB, free: 6.758 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.248, allocations: 234.2 kB / 383.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.2481, allocations: 59.19 kB / 383.2 MB, free: 6.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.2482, allocations: 4 kB / 383.2 MB, free: 6.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.2484, allocations: 322.8 kB / 383.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/0.2492, allocations: 112.2 kB / 383.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009767/0.2503, allocations: 184.9 kB / 383.8 MB, free: 5.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.2511, allocations: 146.4 kB / 383.9 MB, free: 5.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.2512, allocations: 4 kB / 383.9 MB, free: 5.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.002985/0.2542, allocations: 462.3 kB / 384.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005359/0.2548, allocations: 0.6451 MB / 385 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.2548, allocations: 4 kB / 385 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007152/0.2555, allocations: 80.75 kB / 385.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.2561, allocations: 43.97 kB / 385.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/0.2612, allocations: 1.776 MB / 386.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008589/0.2621, allocations: 47.75 kB / 387 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-05/0.2622, allocations: 15.98 kB / 387 MB, free: 2.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.2622, allocations: 12 kB / 387 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001951/0.2642, allocations: 330.6 kB / 387.3 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.2643, allocations: 4 kB / 387.3 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.2645, allocations: 32.84 kB / 387.4 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/0.2651, allocations: 59.98 kB / 387.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.268, allocations: 1.554 MB / 389 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/0.2687, allocations: 39.83 kB / 389 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.2688, allocations: 11.98 kB / 389 MB, free: 224 kB / 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 (21): * Single equations (assignments): 19 * 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.5362/0.8051, allocations: 216.7 kB / 389.3 MB, free: 20.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.8052, allocations: 24.41 kB / 389.3 MB, free: 20.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.8054, allocations: 27.56 kB / 389.3 MB, free: 20.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.8054, allocations: 5.719 kB / 389.3 MB, free: 20.14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.8055, allocations: 1.844 kB / 389.3 MB, free: 20.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/0.8055, allocations: 1.266 kB / 389.3 MB, free: 20.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007998/0.8064, allocations: 309.4 kB / 389.6 MB, free: 19.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.8064, allocations: 0 / 389.6 MB, free: 19.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/0.807, allocations: 35.16 kB / 389.6 MB, free: 19.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006878/0.8077, allocations: 76.81 kB / 389.7 MB, free: 19.94 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/0.8078, allocations: 3.828 kB / 389.7 MB, free: 19.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004749/0.8126, allocations: 1.673 MB / 391.4 MB, free: 18.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.8127, allocations: 0 / 391.4 MB, free: 18.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003788/0.8165, allocations: 0.493 MB / 391.9 MB, free: 18.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.8168, allocations: 100.2 kB / 392 MB, free: 18.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.8169, allocations: 10.55 kB / 392 MB, free: 18.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007359/0.8176, allocations: 36.86 kB / 392 MB, free: 18.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.8179, allocations: 22.59 kB / 392.1 MB, free: 18.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.818, allocations: 4.906 kB / 392.1 MB, free: 18.53 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005003/0.8185, allocations: 199.9 kB / 392.3 MB, free: 18.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.8185, allocations: 0 / 392.3 MB, free: 18.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001426/0.8199, allocations: 133.8 kB / 392.4 MB, free: 18.45 MB / 282.7 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 (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.0002571/0.8203, allocations: 103.7 kB / 392.5 MB, free: 18.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00386/0.8241, allocations: 0.7501 MB / 393.2 MB, free: 18.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.8242, allocations: 0 / 393.2 MB, free: 18.01 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.8256, allocations: 258.4 kB / 393.5 MB, free: 17.89 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007765/0.8265, allocations: 50.47 kB / 393.5 MB, free: 17.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.8292, allocations: 0.6646 MB / 394.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.8297, allocations: 0.7681 MB / 395 MB, free: 16.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.83, allocations: 20.45 kB / 395 MB, free: 16.82 MB / 282.7 MB Notification: Performance of SimCode: time 1.773e-06/0.83, allocations: 0 / 395 MB, free: 16.82 MB / 282.7 MB Notification: Performance of Templates: time 0.0201/0.8501, allocations: 4.364 MB / 399.4 MB, free: 16.49 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.HighPassCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPassCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPassCalcHelperMain.cpp:31:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPassJacobian.cpp:79:26: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(4) = ((__HOM_LAMBDA_ * tmp32) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(3)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPassJacobian.cpp:79:59: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(4) = ((__HOM_LAMBDA_ * tmp32) + ((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.HighPassCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPassCalcHelperMain.o] Error 1\n'