Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008799/0.0008794, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001024, allocations: 192.7 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.682/1.682, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 11.98 kB / 307.3 MB, free: 1.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 51.47 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004144/0.1724, allocations: 2.459 MB / 361.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00188/0.1743, allocations: 0.7211 MB / 362 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.1746, allocations: 8 kB / 362 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001935/0.1748, allocations: 31.75 kB / 362 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.175, allocations: 79.39 kB / 362.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1755, allocations: 67.84 kB / 362.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.1759, allocations: 350.5 kB / 362.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.1762, allocations: 97.73 kB / 362.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.1765, allocations: 131.4 kB / 362.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1767, allocations: 135.4 kB / 362.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.1767, allocations: 23.94 kB / 362.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.272e-05/0.1768, allocations: 20 kB / 362.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.1768, allocations: 47.77 kB / 362.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.651e-05/0.1769, allocations: 77.58 kB / 363 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003597/0.1773, allocations: 331.3 kB / 363.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.1773, allocations: 0 / 363.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1773, allocations: 0 / 363.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1773, allocations: 0 / 363.3 MB, free: 9.559 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001406/0.1787, allocations: 0.6331 MB / 364 MB, free: 8.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1788, allocations: 8.031 kB / 364 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.1789, allocations: 31.62 kB / 364 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.1793, allocations: 287.5 kB / 364.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.1793, allocations: 16.56 kB / 364.3 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.051e-05/0.1794, allocations: 20 kB / 364.3 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007619/0.1801, allocations: 331.6 kB / 364.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1802, allocations: 0 / 364.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.1802, allocations: 8 kB / 364.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1802, allocations: 12 kB / 364.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.181, allocations: 302 kB / 365 MB, free: 7.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.1833, allocations: 1.212 MB / 366.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008872/0.1842, allocations: 282.6 kB / 366.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.1845, allocations: 116.7 kB / 366.6 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1846, allocations: 7.984 kB / 366.6 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005612/0.1851, allocations: 181 kB / 366.8 MB, free: 5.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/0.1851, allocations: 0 / 366.8 MB, free: 5.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002144/0.1873, allocations: 0.6745 MB / 367.4 MB, free: 5.211 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.1874, allocations: 85.11 kB / 367.5 MB, free: 5.109 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.1878, allocations: 258.6 kB / 367.8 MB, free: 4.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.1879, allocations: 29.7 kB / 367.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.1881, allocations: 195.5 kB / 368 MB, free: 4.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.1881, allocations: 43.45 kB / 368 MB, free: 4.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.1881, allocations: 4 kB / 368 MB, free: 4.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1883, allocations: 330.8 kB / 368.4 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.1887, allocations: 116.2 kB / 368.5 MB, free: 4.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.1892, allocations: 204.6 kB / 368.7 MB, free: 3.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.1896, allocations: 164 kB / 368.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.1896, allocations: 0 / 368.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001344/0.191, allocations: 479.7 kB / 369.3 MB, free: 3.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.114e-05/0.191, allocations: 37.66 kB / 369.3 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.1911, allocations: 4 kB / 369.3 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00046/0.1915, allocations: 68.88 kB / 369.4 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.1918, allocations: 67.89 kB / 369.5 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/0.1951, allocations: 1.752 MB / 371.2 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004623/0.1956, allocations: 55.91 kB / 371.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.1957, allocations: 8 kB / 371.3 MB, free: 1.098 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (25): * Single equations (assignments): 23 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002979/0.196, allocations: 149.7 kB / 371.4 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.196, allocations: 27.66 kB / 371.5 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.1961, allocations: 25.7 kB / 371.5 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1961, allocations: 4 kB / 371.5 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1961, allocations: 0 / 371.5 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.1961, allocations: 3.984 kB / 371.5 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.1966, allocations: 317.4 kB / 371.8 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1966, allocations: 0 / 371.8 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.1968, allocations: 35.97 kB / 371.8 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002618/0.1971, allocations: 68.8 kB / 371.9 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1971, allocations: 8 kB / 371.9 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3555/0.5526, allocations: 1.528 MB / 373.4 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.5527, allocations: 0.5312 kB / 373.4 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.555, allocations: 0.4956 MB / 373.9 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.5552, allocations: 101.4 kB / 374 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.509e-05/0.5553, allocations: 2.125 kB / 374 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.5556, allocations: 44.56 kB / 374.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.5558, allocations: 21.28 kB / 374.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.5558, allocations: 6.703 kB / 374.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003913/0.5562, allocations: 185.8 kB / 374.3 MB, free: 18.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5562, allocations: 0 / 374.3 MB, free: 18.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006845/0.5569, allocations: 70.48 kB / 374.4 MB, free: 18.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002425/0.5572, allocations: 107.9 kB / 374.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.5591, allocations: 0.497 MB / 375 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.5592, allocations: 0.75 kB / 375 MB, free: 18.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.5599, allocations: 236.5 kB / 375.2 MB, free: 18.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005865/0.5605, allocations: 50.8 kB / 375.2 MB, free: 18.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.5655, allocations: 1.031 MB / 376.3 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.5659, allocations: 0.7524 MB / 377 MB, free: 17.01 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.5661, allocations: 24.12 kB / 377.1 MB, free: 17 MB / 302.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5661, allocations: 0 / 377.1 MB, free: 17 MB / 302.1 MB Notification: Performance of Templates: time 0.01484/0.5809, allocations: 4.515 MB / 381.6 MB, free: 16.7 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile clang++ NOTFOUND -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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorCalcHelperMain.o] Error 1