Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009648/0.0009646, allocations: 98.78 kB / 17.96 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 175.9 kB / 18.86 MB, free: 4.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.798/1.798, allocations: 205.4 MB / 225 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004929, allocations: 12 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1274, allocations: 47.57 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003478/0.1309, allocations: 2.403 MB / 332 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1324, allocations: 0.7139 MB / 332.7 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1326, allocations: 4 kB / 332.7 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.1328, allocations: 27.77 kB / 332.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.133, allocations: 79.38 kB / 332.8 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.1333, allocations: 83.92 kB / 332.9 MB, free: 432 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.1336, allocations: 338.6 kB / 333.3 MB, free: 92 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.1339, allocations: 69.14 kB / 333.3 MB, free: 28 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.1341, allocations: 111.6 kB / 333.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.1344, allocations: 139.3 kB / 333.6 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.1344, allocations: 16 kB / 333.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.096e-05/0.1345, allocations: 16 kB / 333.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.1345, allocations: 55.64 kB / 333.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.1347, allocations: 149 kB / 333.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.135, allocations: 235.5 kB / 334 MB, free: 15.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.135, allocations: 8 kB / 334 MB, free: 15.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.135, allocations: 0 / 334 MB, free: 15.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.135, allocations: 3.938 kB / 334 MB, free: 15.3 MB / 286.1 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.001372/0.1364, allocations: 0.6147 MB / 334.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.1364, allocations: 8.031 kB / 334.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.055e-05/0.1365, allocations: 32.56 kB / 334.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004042/0.1369, allocations: 287.5 kB / 335 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.137, allocations: 16.8 kB / 335 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.509e-05/0.137, allocations: 20.38 kB / 335 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.1377, allocations: 259.5 kB / 335.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1377, allocations: 4 kB / 335.3 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/0.1378, allocations: 8 kB / 335.3 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.1378, allocations: 4 kB / 335.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007957/0.1386, allocations: 281.5 kB / 335.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.1404, allocations: 0.8896 MB / 336.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00092/0.1413, allocations: 266.6 kB / 336.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.1417, allocations: 124.7 kB / 336.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1417, allocations: 0 / 336.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005809/0.1423, allocations: 201.8 kB / 337 MB, free: 12.11 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.1424, allocations: 4 kB / 337 MB, free: 12.11 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002737/0.1451, allocations: 0.7566 MB / 337.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.1452, allocations: 106.8 kB / 337.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.1456, allocations: 278.5 kB / 338.2 MB, free: 10.91 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.1456, allocations: 25.7 kB / 338.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1458, allocations: 175.9 kB / 338.4 MB, free: 10.7 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.1459, allocations: 43.39 kB / 338.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.1459, allocations: 29.7 kB / 338.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002745/0.1462, allocations: 338.8 kB / 338.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.1466, allocations: 115.9 kB / 338.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.1471, allocations: 189.5 kB / 339.1 MB, free: 9.953 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.1478, allocations: 313.1 kB / 339.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1479, allocations: 0 / 339.4 MB, free: 9.613 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00138/0.1492, allocations: 491.6 kB / 339.8 MB, free: 9.117 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.1494, allocations: 180.5 kB / 340 MB, free: 8.906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.1494, allocations: 7.984 kB / 340 MB, free: 8.898 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004296/0.1498, allocations: 84.8 kB / 340.1 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.1501, allocations: 43.97 kB / 340.2 MB, free: 8.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/0.1531, allocations: 1.865 MB / 342 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.1534, allocations: 56 kB / 342.1 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.1535, allocations: 19.92 kB / 342.1 MB, free: 6.688 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.1535, allocations: 4 kB / 342.1 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000738/0.1542, allocations: 314.4 kB / 342.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.1543, allocations: 0 / 342.4 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.377e-05/0.1543, allocations: 24.84 kB / 342.4 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.1545, allocations: 55.89 kB / 342.5 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.1556, allocations: 1.304 MB / 343.8 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.1559, allocations: 59.75 kB / 343.8 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1559, allocations: 8 kB / 343.9 MB, free: 4.781 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002123/0.1562, allocations: 217 kB / 344.1 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.1562, allocations: 23.75 kB / 344.1 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.1563, allocations: 21.83 kB / 344.1 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1563, allocations: 4 kB / 344.1 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1563, allocations: 0 / 344.1 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1563, allocations: 0 / 344.1 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.1566, allocations: 293.4 kB / 344.4 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1566, allocations: 7.938 kB / 344.4 MB, free: 4.172 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1568, allocations: 31.97 kB / 344.4 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.1571, allocations: 80.8 kB / 344.5 MB, free: 4.059 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.1571, allocations: 4 kB / 344.5 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.1597, allocations: 1.764 MB / 346.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1598, allocations: 3.938 kB / 346.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.1609, allocations: 397.4 kB / 346.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.61e-05/0.1611, allocations: 104.8 kB / 346.8 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.217e-05/0.1611, allocations: 0 / 346.8 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.1614, allocations: 39.97 kB / 346.8 MB, free: 1.582 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.1616, allocations: 31.95 kB / 346.9 MB, free: 1.551 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.1616, allocations: 11.92 kB / 346.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004035/0.162, allocations: 194 kB / 347.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.162, allocations: 0 / 347.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005615/0.1626, allocations: 123.7 kB / 347.2 MB, free: 1.227 MB / 286.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 (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001602/0.1627, allocations: 95.25 kB / 347.3 MB, free: 1.125 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.1646, allocations: 0.8085 MB / 348.1 MB, free: 276 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1646, allocations: 0 / 348.1 MB, free: 276 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005321/0.1652, allocations: 254.9 kB / 348.3 MB, free: 8 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.1656, allocations: 44.5 kB / 348.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.1688, allocations: 1.102 MB / 349.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1693, allocations: 0.7483 MB / 350.2 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.1693, allocations: 19.44 kB / 350.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1693, allocations: 0 / 350.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of Templates: time 0.007806/0.1772, allocations: 4.189 MB / 354.4 MB, free: 9.844 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTriggerCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTriggerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTriggerCalcHelperMain.o] Error 1