Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger,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.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,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.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 105.4 kB / 17.81 MB, free: 5.684 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.001377/0.001377, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.731/1.731, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001366/0.001367, allocations: 47.94 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.121, allocations: 46.62 MB / 327.2 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005043/0.1262, allocations: 2.761 MB / 330 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1276, allocations: 0.7216 MB / 330.7 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.1278, allocations: 7.938 kB / 330.7 MB, free: 1.367 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.128, allocations: 31.77 kB / 330.8 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.1283, allocations: 79.39 kB / 330.8 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.1287, allocations: 83.91 kB / 330.9 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.129, allocations: 334.6 kB / 331.3 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1292, allocations: 73.14 kB / 331.3 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1294, allocations: 115.4 kB / 331.4 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1296, allocations: 159.3 kB / 331.6 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.1297, allocations: 16 kB / 331.6 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.872e-05/0.1297, allocations: 20 kB / 331.6 MB, free: 488 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.1298, allocations: 47.77 kB / 331.7 MB, free: 440 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.1299, allocations: 135.3 kB / 331.8 MB, free: 304 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1302, allocations: 243.6 kB / 332 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1302, allocations: 0 / 332 MB, free: 60 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1302, allocations: 0 / 332 MB, free: 60 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.695e-06/0.1302, allocations: 0 / 332 MB, free: 60 kB / 270.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.0017/0.1319, allocations: 0.638 MB / 332.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.967e-05/0.132, allocations: 8.031 kB / 332.7 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.1322, allocations: 32.56 kB / 332.7 MB, free: 15.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.1327, allocations: 291.6 kB / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.1327, allocations: 12.81 kB / 333 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.1328, allocations: 20.38 kB / 333 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007188/0.1335, allocations: 247.5 kB / 333.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1335, allocations: 0 / 333.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.1336, allocations: 11.98 kB / 333.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.1336, allocations: 8 kB / 333.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.1344, allocations: 245.6 kB / 333.5 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.1362, allocations: 0.8739 MB / 334.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009117/0.1371, allocations: 242.5 kB / 334.7 MB, free: 13.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.1374, allocations: 100.8 kB / 334.8 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.1374, allocations: 224 / 334.8 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007124/0.1382, allocations: 189.7 kB / 334.9 MB, free: 12.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.1382, allocations: 0 / 334.9 MB, free: 12.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002373/0.1405, allocations: 0.6711 MB / 335.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002337/0.1408, allocations: 106.8 kB / 335.7 MB, free: 12.13 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.1413, allocations: 266.6 kB / 336 MB, free: 11.86 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1413, allocations: 29.7 kB / 336 MB, free: 11.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1415, allocations: 179.9 kB / 336.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/0.1416, allocations: 39.45 kB / 336.2 MB, free: 11.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-05/0.1417, allocations: 45.64 kB / 336.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0004572/0.1421, allocations: 338.8 kB / 336.6 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.1425, allocations: 100.8 kB / 336.7 MB, free: 11.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.1429, allocations: 163.4 kB / 336.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007251/0.1437, allocations: 266.6 kB / 337.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1437, allocations: 0 / 337.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001273/0.145, allocations: 439.5 kB / 337.5 MB, free: 10.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.145, allocations: 33.7 kB / 337.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.145, allocations: 4 kB / 337.6 MB, free: 10.16 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004227/0.1455, allocations: 84.77 kB / 337.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.1457, allocations: 43.91 kB / 337.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003001/0.1487, allocations: 1.76 MB / 339.5 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.149, allocations: 51.81 kB / 339.5 MB, free: 8.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.1491, allocations: 4 kB / 339.5 MB, free: 8.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003372/0.1494, allocations: 176.1 kB / 339.7 MB, free: 7.895 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000371/0.1498, allocations: 143.7 kB / 339.8 MB, free: 7.727 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005337/0.1503, allocations: 230.7 kB / 340.1 MB, free: 7.477 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.1503, allocations: 0 / 340.1 MB, free: 7.477 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007434/0.1511, allocations: 319.8 kB / 340.4 MB, free: 7.148 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.1512, allocations: 37.69 kB / 340.4 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.1512, allocations: 0 / 340.4 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001013/0.1513, allocations: 36.88 kB / 340.4 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1515, allocations: 31.97 kB / 340.5 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.1527, allocations: 1.444 MB / 341.9 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.153, allocations: 47.88 kB / 342 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.153, allocations: 7.938 kB / 342 MB, free: 5.406 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0001471/0.1532, allocations: 188.3 kB / 342.2 MB, free: 5.215 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.1532, allocations: 23.66 kB / 342.2 MB, free: 5.191 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.1533, allocations: 33.77 kB / 342.2 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1533, allocations: 0 / 342.2 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1533, allocations: 4 kB / 342.2 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1533, allocations: 4 kB / 342.2 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.1537, allocations: 297.4 kB / 342.5 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1537, allocations: 0 / 342.5 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.1538, allocations: 27.91 kB / 342.5 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.1541, allocations: 76.75 kB / 342.6 MB, free: 4.707 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1542, allocations: 7.984 kB / 342.6 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.1566, allocations: 1.632 MB / 344.3 MB, free: 2.934 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1566, allocations: 4 kB / 344.3 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1577, allocations: 357.6 kB / 344.6 MB, free: 2.559 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.1578, allocations: 108.8 kB / 344.7 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.1578, allocations: 3.938 kB / 344.7 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.1581, allocations: 31.97 kB / 344.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.1583, allocations: 19.97 kB / 344.8 MB, free: 2.379 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1583, allocations: 4 kB / 344.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.1585, allocations: 190 kB / 345 MB, free: 2.188 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1585, allocations: 4 kB / 345 MB, free: 2.184 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005642/0.1591, allocations: 123.7 kB / 345.1 MB, free: 2.062 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.0001607/0.1592, allocations: 103.2 kB / 345.2 MB, free: 1.953 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.1609, allocations: 0.6794 MB / 345.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1609, allocations: 0.6875 kB / 345.9 MB, free: 1.223 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005825/0.1615, allocations: 230.5 kB / 346.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.1619, allocations: 40.53 kB / 346.1 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1631, allocations: 0.5705 MB / 346.7 MB, free: 352 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.1636, allocations: 0.7444 MB / 347.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.1637, allocations: 23.44 kB / 347.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1637, allocations: 0 / 347.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Templates: time 0.007747/0.1715, allocations: 4.192 MB / 351.7 MB, free: 11.36 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTriggerCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.o] Error 1