Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,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.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,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.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002577/0.002584, allocations: 182.6 kB / 16.4 MB, free: 5.754 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.471/3.471, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001785/0.001785, allocations: 104.4 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008108/0.0008111, allocations: 12 kB / 327 MB, free: 180 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6819/0.6828, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005266/0.6882, allocations: 2.288 MB / 376.8 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002915/0.6912, allocations: 0.7363 MB / 377.6 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005315/0.6918, allocations: 3.344 kB / 377.6 MB, free: 43.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.6921, allocations: 35.62 kB / 377.6 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.6933, allocations: 108.7 kB / 377.7 MB, free: 42.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008508/0.6942, allocations: 71.56 kB / 377.8 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001144/0.6954, allocations: 251.8 kB / 378 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004067/0.6959, allocations: 81.3 kB / 378.1 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005584/0.6965, allocations: 124.4 kB / 378.2 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.6969, allocations: 139.7 kB / 378.4 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.6971, allocations: 15.88 kB / 378.4 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.6972, allocations: 17.75 kB / 378.4 MB, free: 42.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.6974, allocations: 53.94 kB / 378.4 MB, free: 42.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.6976, allocations: 76.73 kB / 378.5 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005793/0.6982, allocations: 260 kB / 378.8 MB, free: 42.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6982, allocations: 0 / 378.8 MB, free: 42.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6982, allocations: 1.188 kB / 378.8 MB, free: 42.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.6982, allocations: 0 / 378.8 MB, free: 42.2 MB / 298.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.002717/0.701, allocations: 0.633 MB / 379.4 MB, free: 41.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.344e-05/0.7011, allocations: 9.625 kB / 379.4 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002653/0.7014, allocations: 35.78 kB / 379.5 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007826/0.7022, allocations: 278.1 kB / 379.7 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.7023, allocations: 14.5 kB / 379.7 MB, free: 41.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.7024, allocations: 26.89 kB / 379.8 MB, free: 41.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.7042, allocations: 274.2 kB / 380 MB, free: 41.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.7043, allocations: 0 / 380 MB, free: 41.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.439e-05/0.7044, allocations: 10.34 kB / 380 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.7044, allocations: 9.359 kB / 380.1 MB, free: 41.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/0.7068, allocations: 305.2 kB / 380.4 MB, free: 41.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004066/0.711, allocations: 0.9245 MB / 381.3 MB, free: 40.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.7133, allocations: 387.4 kB / 381.7 MB, free: 40.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.268e-05/0.7134, allocations: 6.094 kB / 381.7 MB, free: 40.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.7146, allocations: 201.8 kB / 381.9 MB, free: 39.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 6.182e-06/0.7147, allocations: 0 / 381.9 MB, free: 39.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.005195/0.7199, allocations: 0.6841 MB / 382.5 MB, free: 39.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/0.72, allocations: 110.1 kB / 382.6 MB, free: 39.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/0.7208, allocations: 265.6 kB / 382.9 MB, free: 39.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.7209, allocations: 31.14 kB / 382.9 MB, free: 39.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.7212, allocations: 240.8 kB / 383.2 MB, free: 38.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.7213, allocations: 59.45 kB / 383.2 MB, free: 38.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-05/0.7214, allocations: 5.125 kB / 383.2 MB, free: 38.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.7215, allocations: 325.7 kB / 383.6 MB, free: 38.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009218/0.7225, allocations: 114.3 kB / 383.7 MB, free: 38.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009879/0.7235, allocations: 180.3 kB / 383.8 MB, free: 38.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009522/0.7246, allocations: 159.8 kB / 384 MB, free: 38.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.551e-05/0.7247, allocations: 0 / 384 MB, free: 38.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002948/0.7277, allocations: 468.9 kB / 384.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002781/0.728, allocations: 0.6391 MB / 385.1 MB, free: 37.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.7281, allocations: 2.219 kB / 385.1 MB, free: 37.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/0.7286, allocations: 62.52 kB / 385.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.7294, allocations: 68.45 kB / 385.2 MB, free: 37.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.733, allocations: 1.521 MB / 386.7 MB, free: 35.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.7341, allocations: 57.89 kB / 386.8 MB, free: 35.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.493e-05/0.7343, allocations: 8.031 kB / 386.8 MB, free: 35.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.7343, allocations: 2.969 kB / 386.8 MB, free: 35.89 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001934/0.7363, allocations: 338.5 kB / 387.1 MB, free: 35.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.7364, allocations: 0 / 387.1 MB, free: 35.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.7365, allocations: 20.86 kB / 387.2 MB, free: 35.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007021/0.7373, allocations: 67.92 kB / 387.2 MB, free: 35.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001573/0.7389, allocations: 1.381 MB / 388.6 MB, free: 34.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006368/0.7396, allocations: 51.97 kB / 388.7 MB, free: 34.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.7396, allocations: 12 kB / 388.7 MB, free: 34.02 MB / 298.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 (26): * Single equations (assignments): 24 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003701/0.74, allocations: 217 kB / 388.9 MB, free: 33.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.7402, allocations: 35.67 kB / 388.9 MB, free: 33.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.968e-05/0.7403, allocations: 26.17 kB / 388.9 MB, free: 33.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.7403, allocations: 8 kB / 389 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.7403, allocations: 0 / 389 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.7404, allocations: 96 / 389 MB, free: 33.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.7435, allocations: 0.7534 MB / 389.7 MB, free: 32.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.7436, allocations: 7.984 kB / 389.7 MB, free: 32.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005851/0.7442, allocations: 48 kB / 389.8 MB, free: 32.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/0.7446, allocations: 56.75 kB / 389.8 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-05/0.7447, allocations: 4 kB / 389.8 MB, free: 32.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.748, allocations: 1.503 MB / 391.3 MB, free: 31.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7481, allocations: 3.938 kB / 391.3 MB, free: 31.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.7512, allocations: 0.5834 MB / 391.9 MB, free: 30.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.7515, allocations: 108.7 kB / 392 MB, free: 30.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.7516, allocations: 4.062 kB / 392 MB, free: 30.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006891/0.7523, allocations: 43.97 kB / 392.1 MB, free: 30.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.7525, allocations: 31.83 kB / 392.1 MB, free: 30.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.7526, allocations: 4 kB / 392.1 MB, free: 30.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006215/0.7532, allocations: 198 kB / 392.3 MB, free: 30.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.7533, allocations: 0 / 392.3 MB, free: 30.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001534/0.7548, allocations: 127.7 kB / 392.4 MB, free: 30.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 13 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002412/0.7551, allocations: 103.5 kB / 392.5 MB, free: 29.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003078/0.7582, allocations: 0.7471 MB / 393.3 MB, free: 29.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.7583, allocations: 4.25 kB / 393.3 MB, free: 29.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.7593, allocations: 242.6 kB / 393.5 MB, free: 28.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008257/0.7602, allocations: 52.52 kB / 393.6 MB, free: 28.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.7627, allocations: 0.6962 MB / 394.3 MB, free: 28.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.7632, allocations: 0.7638 MB / 395 MB, free: 27.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.7634, allocations: 23.44 kB / 395 MB, free: 27.28 MB / 298.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7634, allocations: 0 / 395 MB, free: 27.28 MB / 298.7 MB Notification: Performance of Templates: time 0.02481/0.7882, allocations: 4.425 MB / 399.5 MB, free: 22.86 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPassCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPassCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPassCalcHelperMain.cpp:31:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPassJacobian.cpp:78:26: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(1) = ((__HOM_LAMBDA_ * tmp32) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(0)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPassJacobian.cpp:78:59: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(1) = ((__HOM_LAMBDA_ * tmp32) + ((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(0)));\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPassCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LowPassCalcHelperMain.o] Error 1\n'