Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator,tolerance=0.0001,outputFormat="mat",numberOfIntervals=1998,variableFilter="time|c.v|l.i|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002475/0.002474, allocations: 183.1 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 5.155/5.155, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.001818/0.001818, allocations: 108 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006733/0.0006736, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6361, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.005381/0.6416, allocations: 2.149 MB / 376.7 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002704/0.6443, allocations: 0.6906 MB / 377.4 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.6449, allocations: 4.844 kB / 377.4 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.6451, allocations: 35.88 kB / 377.4 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000702/0.6458, allocations: 103.5 kB / 377.5 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.6464, allocations: 74.88 kB / 377.6 MB, free: 43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008596/0.6473, allocations: 227 kB / 377.8 MB, free: 42.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003828/0.6477, allocations: 82.62 kB / 377.9 MB, free: 42.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004903/0.6482, allocations: 108.3 kB / 378 MB, free: 42.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.6486, allocations: 110.2 kB / 378.1 MB, free: 42.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.966e-05/0.6487, allocations: 14.69 kB / 378.1 MB, free: 42.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.6488, allocations: 15.34 kB / 378.1 MB, free: 42.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.553e-05/0.6489, allocations: 58.72 kB / 378.2 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.6491, allocations: 72.33 kB / 378.3 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005248/0.6496, allocations: 229.4 kB / 378.5 MB, free: 42.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6497, allocations: 0 / 378.5 MB, free: 42.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6497, allocations: 1.531 kB / 378.5 MB, free: 42.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.6497, allocations: 0 / 378.5 MB, free: 42.42 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001876/0.6516, allocations: 0.5516 MB / 379 MB, free: 41.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.6517, allocations: 8.281 kB / 379 MB, free: 41.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.6519, allocations: 35.59 kB / 379.1 MB, free: 41.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006357/0.6526, allocations: 259.2 kB / 379.3 MB, free: 41.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.6526, allocations: 22.53 kB / 379.4 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.6528, allocations: 23.56 kB / 379.4 MB, free: 41.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.654, allocations: 243.8 kB / 379.6 MB, free: 41.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.6541, allocations: 1.312 kB / 379.6 MB, free: 41.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.6542, allocations: 9.438 kB / 379.6 MB, free: 41.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.6542, allocations: 7.094 kB / 379.6 MB, free: 41.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.6556, allocations: 226.9 kB / 379.9 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/0.6595, allocations: 0.9361 MB / 380.8 MB, free: 40.6 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.661, allocations: 199.2 kB / 381 MB, free: 40.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.795e-05/0.6611, allocations: 5.594 kB / 381 MB, free: 40.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.6612, allocations: 40.16 kB / 381 MB, free: 40.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 5.28e-06/0.6612, allocations: 0 / 381 MB, free: 40.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.00451/0.6657, allocations: 0.5845 MB / 381.6 MB, free: 40.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.6659, allocations: 57.41 kB / 381.7 MB, free: 40.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/0.6664, allocations: 230.3 kB / 381.9 MB, free: 39.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.6666, allocations: 33.7 kB / 381.9 MB, free: 39.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.6667, allocations: 232.5 kB / 382.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.6669, allocations: 59.08 kB / 382.2 MB, free: 39.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.6669, allocations: 5.25 kB / 382.2 MB, free: 39.58 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.667, allocations: 321.6 kB / 382.5 MB, free: 39.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004432/0.6675, allocations: 65.03 kB / 382.6 MB, free: 39.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.668, allocations: 121.8 kB / 382.7 MB, free: 39.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.6685, allocations: 89.45 kB / 382.8 MB, free: 39.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.6686, allocations: 0.9062 kB / 382.8 MB, free: 39.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002112/0.6707, allocations: 358.7 kB / 383.2 MB, free: 38.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/0.671, allocations: 0.6127 MB / 383.8 MB, free: 38.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.671, allocations: 5.406 kB / 383.8 MB, free: 38.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008175/0.6719, allocations: 72.41 kB / 383.8 MB, free: 38.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005789/0.6725, allocations: 52.84 kB / 383.9 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005626/0.6782, allocations: 1.833 MB / 385.7 MB, free: 36.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.6787, allocations: 30.42 kB / 385.8 MB, free: 36.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.6788, allocations: 6.438 kB / 385.8 MB, free: 36.56 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.6789, allocations: 4.688 kB / 385.8 MB, free: 36.56 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001005/0.6799, allocations: 215.9 kB / 386 MB, free: 36.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.68, allocations: 5.219 kB / 386 MB, free: 36.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.6803, allocations: 41.38 kB / 386 MB, free: 36.42 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.6809, allocations: 51.53 kB / 386.1 MB, free: 36.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.6834, allocations: 1.551 MB / 387.6 MB, free: 34.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.6838, allocations: 15.94 kB / 387.6 MB, free: 34.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.6838, allocations: 7.188 kB / 387.7 MB, free: 34.86 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003847/0.6842, allocations: 216.1 kB / 387.9 MB, free: 34.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.6844, allocations: 18.16 kB / 387.9 MB, free: 34.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.6845, allocations: 26.42 kB / 387.9 MB, free: 34.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.6846, allocations: 1.844 kB / 387.9 MB, free: 34.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.6846, allocations: 1.438 kB / 387.9 MB, free: 34.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.6846, allocations: 3.938 kB / 387.9 MB, free: 34.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008091/0.6854, allocations: 312 kB / 388.2 MB, free: 34.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.6855, allocations: 0 / 388.2 MB, free: 34.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/0.686, allocations: 32.61 kB / 388.2 MB, free: 34.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006747/0.6867, allocations: 78.3 kB / 388.3 MB, free: 34.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.6868, allocations: 1.094 kB / 388.3 MB, free: 34.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/0.6913, allocations: 1.763 MB / 390.1 MB, free: 32.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6914, allocations: 0 / 390.1 MB, free: 32.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.6933, allocations: 445.3 kB / 390.5 MB, free: 32.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.6936, allocations: 100.8 kB / 390.6 MB, free: 31.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.168e-05/0.6937, allocations: 8.375 kB / 390.6 MB, free: 31.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/0.6942, allocations: 15.98 kB / 390.6 MB, free: 31.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.077e-05/0.6943, allocations: 19.92 kB / 390.7 MB, free: 31.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.6944, allocations: 8 kB / 390.7 MB, free: 31.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003188/0.6947, allocations: 172.5 kB / 390.8 MB, free: 31.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.6948, allocations: 0 / 390.8 MB, free: 31.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001498/0.6963, allocations: 123.7 kB / 391 MB, free: 31.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * 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 (13): * Single equations (assignments): 12 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002275/0.6966, allocations: 103.2 kB / 391.1 MB, free: 31.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.6991, allocations: 0.5672 MB / 391.6 MB, free: 30.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.6992, allocations: 0 / 391.6 MB, free: 30.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007077/0.6999, allocations: 215.3 kB / 391.8 MB, free: 30.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007627/0.7007, allocations: 47.61 kB / 391.9 MB, free: 30.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.7054, allocations: 0.9624 MB / 392.9 MB, free: 29.62 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.7058, allocations: 0.7599 MB / 393.6 MB, free: 28.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.706, allocations: 23.38 kB / 393.6 MB, free: 28.81 MB / 298.7 MB Notification: Performance of SimCode: time 1.774e-06/0.706, allocations: 0 / 393.6 MB, free: 28.81 MB / 298.7 MB Notification: Performance of Templates: time 0.01304/0.719, allocations: 3.666 MB / 397.3 MB, free: 25.14 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator.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.LCOscillatorCalcHelperMain.o OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillatorCalcHelperMain.cpp\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillatorCalcHelperMain.cpp:31:\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillatorJacobian.cpp:81:24: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_y(0) = ((__HOM_LAMBDA_ * tmp14) + (((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(4)) - _NLSJac0jac_tmp(2)));\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillatorJacobian.cpp:81:58: error: use of undeclared identifier \'__HOM_LAMBDA_\'\n _NLSJac0jac_y(0) = ((__HOM_LAMBDA_ * tmp14) + (((1.0 - __HOM_LAMBDA_) * _NLSJac0jac_tmp(4)) - _NLSJac0jac_tmp(2)));\n ^\n2 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillatorCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.LCOscillatorCalcHelperMain.o] Error 1\n'