Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Multivibrator,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.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,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.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002799/0.002799, allocations: 187 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 4.037/4.037, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.002053/0.002053, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006373/0.0006374, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1837, allocations: 47.59 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.005164/0.189, allocations: 2.064 MB / 376.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.1917, allocations: 0.6831 MB / 377.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003276/0.1921, allocations: 4 kB / 377.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.1922, allocations: 27.77 kB / 377.3 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006231/0.1928, allocations: 103.7 kB / 377.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.1932, allocations: 63.88 kB / 377.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007246/0.194, allocations: 207.5 kB / 377.7 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.1943, allocations: 81.03 kB / 377.8 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.1947, allocations: 95.69 kB / 377.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.195, allocations: 107.5 kB / 378 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.201e-05/0.195, allocations: 19.94 kB / 378 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.74e-05/0.1951, allocations: 16 kB / 378 MB, free: 11.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.1952, allocations: 35.84 kB / 378 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.1953, allocations: 69.58 kB / 378.1 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.1958, allocations: 215.6 kB / 378.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1958, allocations: 0 / 378.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1958, allocations: 0 / 378.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1958, allocations: 0 / 378.3 MB, free: 11.62 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.001732/0.1976, allocations: 0.5262 MB / 378.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.93e-05/0.1991, allocations: 12.03 kB / 378.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.1993, allocations: 23.72 kB / 378.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/0.1999, allocations: 246.6 kB / 379.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.2, allocations: 20.56 kB / 379.1 MB, free: 10.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.933e-05/0.2001, allocations: 27.91 kB / 379.2 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.2013, allocations: 228.8 kB / 379.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.2013, allocations: 0 / 379.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.2014, allocations: 8 kB / 379.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.2014, allocations: 4 kB / 379.4 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.2026, allocations: 194.2 kB / 379.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.2063, allocations: 0.9124 MB / 380.5 MB, free: 9.262 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.2079, allocations: 234.6 kB / 380.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.208, allocations: 4 kB / 380.7 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.2081, allocations: 30.56 kB / 380.8 MB, free: 8.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 4.498e-06/0.2081, allocations: 0 / 380.8 MB, free: 8.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.004556/0.2127, allocations: 0.6069 MB / 381.4 MB, free: 8.348 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.2128, allocations: 55.41 kB / 381.4 MB, free: 8.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004838/0.2133, allocations: 231 kB / 381.7 MB, free: 8.043 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.2134, allocations: 33.7 kB / 381.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.2137, allocations: 230.2 kB / 381.9 MB, free: 7.777 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2138, allocations: 55.28 kB / 382 MB, free: 7.723 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.2138, allocations: 0 / 382 MB, free: 7.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.214, allocations: 322.8 kB / 382.3 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.2145, allocations: 67.97 kB / 382.4 MB, free: 7.332 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.215, allocations: 115.4 kB / 382.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.2155, allocations: 71.98 kB / 382.5 MB, free: 7.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.2155, allocations: 4 kB / 382.5 MB, free: 7.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.002337/0.2179, allocations: 346.1 kB / 382.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004124/0.2184, allocations: 0.6123 MB / 383.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.2184, allocations: 8 kB / 383.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008996/0.2193, allocations: 84.73 kB / 383.6 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.2198, allocations: 35.98 kB / 383.6 MB, free: 5.988 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006621/0.2265, allocations: 1.893 MB / 385.5 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.227, allocations: 35.92 kB / 385.5 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.2271, allocations: 11.94 kB / 385.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2271, allocations: 4 kB / 385.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007472/0.2279, allocations: 168.8 kB / 385.7 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.2279, allocations: 7.938 kB / 385.7 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.2281, allocations: 24.78 kB / 385.8 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/0.2286, allocations: 43.97 kB / 385.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.2306, allocations: 1.312 MB / 387.1 MB, free: 2.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.2309, allocations: 15.88 kB / 387.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.2309, allocations: 11.98 kB / 387.1 MB, free: 2.188 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000343/0.2313, allocations: 209 kB / 387.3 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.2314, allocations: 23.81 kB / 387.4 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.293e-05/0.2315, allocations: 25.53 kB / 387.4 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2315, allocations: 0 / 387.4 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.2316, allocations: 3.984 kB / 387.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.2316, allocations: 4 kB / 387.4 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.2323, allocations: 289.3 kB / 387.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2323, allocations: 0 / 387.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.2327, allocations: 23.98 kB / 387.7 MB, free: 1.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007482/0.2335, allocations: 88.73 kB / 387.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.2336, allocations: 0 / 387.8 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4633/0.6969, allocations: 1.782 MB / 389.6 MB, free: 19.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.697, allocations: 0 / 389.6 MB, free: 19.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.6994, allocations: 457.6 kB / 390 MB, free: 19.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.6996, allocations: 97.86 kB / 390.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.6997, allocations: 2.719 kB / 390.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.7002, allocations: 21.94 kB / 390.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.7004, allocations: 12.42 kB / 390.2 MB, free: 19.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-05/0.7004, allocations: 8.812 kB / 390.2 MB, free: 19.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003551/0.7008, allocations: 163.8 kB / 390.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7008, allocations: 0 / 390.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001621/0.7024, allocations: 114.2 kB / 390.4 MB, free: 19.04 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002348/0.7027, allocations: 107.1 kB / 390.5 MB, free: 18.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00283/0.7056, allocations: 0.5477 MB / 391.1 MB, free: 18.74 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.7057, allocations: 0 / 391.1 MB, free: 18.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007435/0.7064, allocations: 209.6 kB / 391.3 MB, free: 18.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/0.7072, allocations: 33.14 kB / 391.3 MB, free: 18.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.7095, allocations: 0.6157 MB / 391.9 MB, free: 18.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.71, allocations: 0.75 MB / 392.7 MB, free: 17.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.7101, allocations: 20.31 kB / 392.7 MB, free: 17.6 MB / 282.7 MB Notification: Performance of SimCode: time 1.673e-06/0.7101, allocations: 0 / 392.7 MB, free: 17.6 MB / 282.7 MB Notification: Performance of Templates: time 0.01497/0.7251, allocations: 3.409 MB / 396.1 MB, free: 17.45 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.MultivibratorCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.MultivibratorCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.MultivibratorCalcHelperMain.cpp:31:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.MultivibratorJacobian.cpp:80:24: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_y(0) = ((__HOM_LAMBDA_ * tmp14) - _NLSJac0jac_tmp(2));\n ^\n1 error generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.MultivibratorCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.MultivibratorCalcHelperMain.o] Error 1\n'