Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger,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.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,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.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002471/0.002476, allocations: 187 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.686/3.686, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001878/0.001879, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006223/0.0006224, allocations: 8 kB / 327 MB, free: 15.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1633, allocations: 47.58 MB / 374.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005831/0.1692, allocations: 2.205 MB / 376.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002702/0.172, allocations: 0.6988 MB / 377.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003994/0.1724, allocations: 4 kB / 377.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.1726, allocations: 31.75 kB / 377.5 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006312/0.1733, allocations: 103.7 kB / 377.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.1739, allocations: 67.84 kB / 377.7 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009011/0.1749, allocations: 231.5 kB / 377.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.1753, allocations: 69.08 kB / 378 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.1757, allocations: 111.6 kB / 378.1 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.1761, allocations: 131.4 kB / 378.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.1763, allocations: 16 kB / 378.2 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1764, allocations: 16 kB / 378.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.1766, allocations: 47.81 kB / 378.3 MB, free: 11.67 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1767, allocations: 69.58 kB / 378.3 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005893/0.1774, allocations: 235.6 kB / 378.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1774, allocations: 4 kB / 378.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.367e-06/0.1774, allocations: 0 / 378.6 MB, free: 11.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.1775, allocations: 4 kB / 378.6 MB, free: 11.36 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.00269/0.1802, allocations: 0.6106 MB / 379.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/0.1803, allocations: 8.031 kB / 379.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.1805, allocations: 31.62 kB / 379.2 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/0.1813, allocations: 278.4 kB / 379.5 MB, free: 10.33 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.1814, allocations: 20.38 kB / 379.5 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/0.1815, allocations: 20 kB / 379.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.1832, allocations: 255.2 kB / 379.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.1833, allocations: 4 kB / 379.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.605e-05/0.1834, allocations: 8 kB / 379.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.1834, allocations: 4 kB / 379.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002228/0.1857, allocations: 269.5 kB / 380.1 MB, free: 9.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004604/0.1903, allocations: 0.9012 MB / 381 MB, free: 8.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.1927, allocations: 274.6 kB / 381.2 MB, free: 8.512 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-05/0.1928, allocations: 3.953 kB / 381.2 MB, free: 8.508 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001299/0.1942, allocations: 193.8 kB / 381.4 MB, free: 8.297 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 5.571e-06/0.1942, allocations: 0 / 381.4 MB, free: 8.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0066/0.2008, allocations: 0.7527 MB / 382.2 MB, free: 7.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.201, allocations: 110.8 kB / 382.3 MB, free: 7.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007526/0.2018, allocations: 258.6 kB / 382.5 MB, free: 7.121 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.005e-05/0.202, allocations: 33.69 kB / 382.6 MB, free: 7.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.2022, allocations: 226.4 kB / 382.8 MB, free: 6.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.111e-05/0.2023, allocations: 39.45 kB / 382.8 MB, free: 6.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.2024, allocations: 4 kB / 382.8 MB, free: 6.816 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.2026, allocations: 326.8 kB / 383.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009641/0.2036, allocations: 108.1 kB / 383.3 MB, free: 6.383 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009764/0.2046, allocations: 180 kB / 383.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/0.2055, allocations: 141.6 kB / 383.6 MB, free: 6.035 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.701e-05/0.2056, allocations: 4 kB / 383.6 MB, free: 6.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.004404/0.21, allocations: 455.9 kB / 384 MB, free: 5.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00046/0.2105, allocations: 0.6469 MB / 384.7 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.2106, allocations: 4 kB / 384.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009206/0.2115, allocations: 85.02 kB / 384.8 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.2121, allocations: 47.91 kB / 384.8 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006862/0.219, allocations: 1.838 MB / 386.6 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008871/0.22, allocations: 63.75 kB / 386.7 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.962e-05/0.2201, allocations: 12 kB / 386.7 MB, free: 2.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.2201, allocations: 4 kB / 386.7 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001934/0.2221, allocations: 302.3 kB / 387 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.2222, allocations: 4 kB / 387 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.2224, allocations: 24.84 kB / 387 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/0.223, allocations: 47.89 kB / 387.1 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002718/0.2258, allocations: 1.44 MB / 388.5 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.2265, allocations: 43.88 kB / 388.6 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.2266, allocations: 8 kB / 388.6 MB, free: 0.668 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004412/0.2271, allocations: 217.7 kB / 388.8 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.2272, allocations: 23.72 kB / 388.8 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.2274, allocations: 29.83 kB / 388.8 MB, free: 408 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.2274, allocations: 3.953 kB / 388.9 MB, free: 404 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2274, allocations: 4 kB / 388.9 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.2274, allocations: 0 / 388.9 MB, free: 400 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000648/0.2281, allocations: 285.5 kB / 389.1 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.2282, allocations: 0 / 389.1 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.2286, allocations: 31.97 kB / 389.2 MB, free: 32 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.4825/0.7111, allocations: 76.02 kB / 389.2 MB, free: 20.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/0.7112, allocations: 3.984 kB / 389.2 MB, free: 20.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005467/0.7167, allocations: 1.702 MB / 390.9 MB, free: 19.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7168, allocations: 1 kB / 390.9 MB, free: 19.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.7197, allocations: 393.2 kB / 391.3 MB, free: 19.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.72, allocations: 96.86 kB / 391.4 MB, free: 19.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.7201, allocations: 9.047 kB / 391.4 MB, free: 19.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/0.7208, allocations: 43.25 kB / 391.5 MB, free: 19.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.7211, allocations: 21.83 kB / 391.5 MB, free: 19.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.7211, allocations: 5.656 kB / 391.5 MB, free: 19.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005218/0.7216, allocations: 188.2 kB / 391.7 MB, free: 19.1 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.7217, allocations: 1.375 kB / 391.7 MB, free: 19.1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001384/0.7231, allocations: 123 kB / 391.8 MB, free: 19.1 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000242/0.7234, allocations: 98.89 kB / 391.9 MB, free: 19.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003622/0.727, allocations: 0.7297 MB / 392.6 MB, free: 18.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/0.7271, allocations: 1.719 kB / 392.6 MB, free: 18.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.7284, allocations: 244.3 kB / 392.9 MB, free: 18.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.7292, allocations: 36.86 kB / 392.9 MB, free: 18.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.7316, allocations: 0.55 MB / 393.5 MB, free: 18.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.7321, allocations: 0.7588 MB / 394.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.7324, allocations: 19.06 kB / 394.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of SimCode: time 1.733e-06/0.7324, allocations: 0 / 394.2 MB, free: 17.54 MB / 282.7 MB Notification: Performance of Templates: time 0.0191/0.7515, allocations: 4.057 MB / 398.3 MB, free: 17.36 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTriggerCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.cpp:31:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerJacobian.cpp:73:25: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_tmp(3) = (__HOM_LAMBDA_ * tmp30);\n ^\n1 error generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.o] Error 1\n'