Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008921/0.0008922, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.617/1.617, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002912, allocations: 8 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003427/0.1584, allocations: 2.389 MB / 361.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1598, allocations: 0.6508 MB / 361.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.16, allocations: 7.938 kB / 361.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.1602, allocations: 27.77 kB / 361.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.1605, allocations: 79.38 kB / 362 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.1608, allocations: 59.94 kB / 362 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.1612, allocations: 342.5 kB / 362.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002617/0.1615, allocations: 94.33 kB / 362.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.1617, allocations: 119.5 kB / 362.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.1619, allocations: 143.4 kB / 362.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.253e-05/0.162, allocations: 20 kB / 362.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.21e-05/0.1621, allocations: 16 kB / 362.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-05/0.1622, allocations: 59.7 kB / 362.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.26e-05/0.1623, allocations: 77.58 kB / 362.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.1626, allocations: 271.5 kB / 363.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.1626, allocations: 0 / 363.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1626, allocations: 0 / 363.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1626, allocations: 0 / 363.1 MB, free: 9.758 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001358/0.164, allocations: 0.6185 MB / 363.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.1641, allocations: 12.03 kB / 363.8 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.968e-05/0.1642, allocations: 35.61 kB / 363.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.1647, allocations: 275.4 kB / 364.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.1647, allocations: 12.56 kB / 364.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.1648, allocations: 27.95 kB / 364.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007496/0.1656, allocations: 311.4 kB / 364.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1656, allocations: 0 / 364.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.1656, allocations: 12 kB / 364.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1656, allocations: 4 kB / 364.4 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.1664, allocations: 281.5 kB / 364.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002016/0.1685, allocations: 1.105 MB / 365.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007729/0.1693, allocations: 242.5 kB / 366 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.1696, allocations: 104.8 kB / 366.1 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/0.1696, allocations: 7.969 kB / 366.1 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005448/0.1702, allocations: 173.9 kB / 366.3 MB, free: 6.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.1702, allocations: 0 / 366.3 MB, free: 6.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002176/0.1724, allocations: 0.5573 MB / 366.9 MB, free: 5.738 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.1725, allocations: 106.8 kB / 367 MB, free: 5.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.1729, allocations: 282.6 kB / 367.3 MB, free: 5.324 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1729, allocations: 29.7 kB / 367.3 MB, free: 5.289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.1732, allocations: 195.6 kB / 367.5 MB, free: 5.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.167e-05/0.1732, allocations: 39.39 kB / 367.5 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.1733, allocations: 8 kB / 367.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1735, allocations: 334.8 kB / 367.8 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.1738, allocations: 104.2 kB / 368 MB, free: 4.605 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/0.1743, allocations: 220.5 kB / 368.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.1747, allocations: 145.6 kB / 368.3 MB, free: 4.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1747, allocations: 0 / 368.3 MB, free: 4.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001204/0.1759, allocations: 451.7 kB / 368.7 MB, free: 3.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.446e-05/0.176, allocations: 33.7 kB / 368.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.176, allocations: 4 kB / 368.8 MB, free: 3.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000416/0.1764, allocations: 72.89 kB / 368.9 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.1767, allocations: 59.89 kB / 368.9 MB, free: 3.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.1792, allocations: 1.581 MB / 370.5 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.1796, allocations: 71.66 kB / 370.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.1797, allocations: 12 kB / 370.6 MB, free: 1.766 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.1799, allocations: 148 kB / 370.7 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.864e-05/0.18, allocations: 23.72 kB / 370.7 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.509e-05/0.1801, allocations: 29.7 kB / 370.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1801, allocations: 0 / 370.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1801, allocations: 0 / 370.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1801, allocations: 0 / 370.8 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.1805, allocations: 305.4 kB / 371.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1806, allocations: 0 / 371.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.1807, allocations: 31.86 kB / 371.1 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.181, allocations: 68.8 kB / 371.2 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.181, allocations: 4 kB / 371.2 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2784/0.4594, allocations: 1.573 MB / 372.7 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4594, allocations: 0.5312 kB / 372.7 MB, free: 18.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.4607, allocations: 335.1 kB / 373.1 MB, free: 18.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.4609, allocations: 111.2 kB / 373.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.461, allocations: 4.969 kB / 373.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.4612, allocations: 41.08 kB / 373.2 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.4614, allocations: 23.64 kB / 373.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.4614, allocations: 6.703 kB / 373.3 MB, free: 18.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.4617, allocations: 200.1 kB / 373.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4617, allocations: 3.188 kB / 373.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004728/0.4622, allocations: 79.02 kB / 373.5 MB, free: 18.54 MB / 302.1 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 (7): * Single equations (assignments): 4 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.4624, allocations: 110.2 kB / 373.6 MB, free: 18.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.4635, allocations: 430 kB / 374.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4635, allocations: 0.5312 kB / 374.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004783/0.464, allocations: 238.3 kB / 374.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.4644, allocations: 40.91 kB / 374.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.4655, allocations: 0.5733 MB / 374.9 MB, free: 17.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.4657, allocations: 0.7547 MB / 375.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.052e-05/0.4658, allocations: 20.27 kB / 375.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of SimCode: time 1.803e-06/0.4658, allocations: 0 / 375.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of Templates: time 0.009701/0.4755, allocations: 4.381 MB / 380.1 MB, free: 16.91 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmpCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.InvertingAmpCalcHelperMain.o] Error 1