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.001019/0.001019, allocations: 98.39 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.00131/0.00131, allocations: 177.3 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.8/1.8, 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.0005103/0.0005103, allocations: 19.94 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1286, allocations: 47.57 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003241/0.1319, allocations: 2.407 MB / 332 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.1334, allocations: 0.71 MB / 332.7 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1335, allocations: 8 kB / 332.7 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.1337, allocations: 27.77 kB / 332.8 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.1339, allocations: 83.31 kB / 332.9 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.1342, allocations: 87.91 kB / 332.9 MB, free: 420 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.1345, allocations: 326.6 kB / 333.3 MB, free: 92 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1347, allocations: 69.16 kB / 333.3 MB, free: 28 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1349, allocations: 123.5 kB / 333.4 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1351, allocations: 131.3 kB / 333.6 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.1352, allocations: 16 kB / 333.6 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.918e-05/0.1352, allocations: 12 kB / 333.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.1353, allocations: 59.67 kB / 333.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.1355, allocations: 149 kB / 333.8 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.1358, allocations: 235.5 kB / 334 MB, free: 15.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1359, allocations: 4 kB / 334 MB, free: 15.3 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1359, allocations: 0 / 334 MB, free: 15.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1359, allocations: 4 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.001304/0.1372, allocations: 0.6108 MB / 334.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1372, allocations: 8.031 kB / 334.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.1373, allocations: 32.56 kB / 334.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.1377, allocations: 283.5 kB / 335 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.1378, allocations: 16.81 kB / 335 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.1378, allocations: 16.38 kB / 335 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.1385, allocations: 271.5 kB / 335.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1385, allocations: 0 / 335.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.1385, allocations: 8 kB / 335.3 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1385, allocations: 4 kB / 335.3 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007819/0.1393, allocations: 273.5 kB / 335.5 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.1412, allocations: 0.9013 MB / 336.4 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009256/0.1422, allocations: 266.6 kB / 336.7 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/0.1426, allocations: 120.8 kB / 336.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.1426, allocations: 0 / 336.8 MB, free: 12.33 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006406/0.1432, allocations: 197.7 kB / 337 MB, free: 12.12 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.1433, allocations: 0 / 337 MB, free: 12.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002605/0.1459, allocations: 0.7605 MB / 337.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/0.146, allocations: 102.8 kB / 337.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.1463, allocations: 270.5 kB / 338.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.1463, allocations: 29.7 kB / 338.2 MB, free: 10.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.1465, allocations: 164 kB / 338.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.1465, allocations: 47.44 kB / 338.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.1466, allocations: 21.7 kB / 338.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000245/0.1468, allocations: 338.8 kB / 338.7 MB, free: 10.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.1472, allocations: 111.9 kB / 338.8 MB, free: 10.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004416/0.1477, allocations: 183.6 kB / 339 MB, free: 10 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007849/0.1485, allocations: 294.8 kB / 339.3 MB, free: 9.688 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.1485, allocations: 3.984 kB / 339.3 MB, free: 9.684 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001371/0.1499, allocations: 479.5 kB / 339.8 MB, free: 9.199 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/0.1501, allocations: 159.9 kB / 339.9 MB, free: 9.012 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.1501, allocations: 4 kB / 339.9 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.1506, allocations: 92.73 kB / 340 MB, free: 8.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.1508, allocations: 39.97 kB / 340.1 MB, free: 8.875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003062/0.1539, allocations: 1.807 MB / 341.9 MB, free: 6.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.1543, allocations: 59.73 kB / 341.9 MB, free: 6.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.1543, allocations: 8 kB / 341.9 MB, free: 6.859 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.1543, allocations: 4 kB / 341.9 MB, free: 6.855 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007359/0.1551, allocations: 306.3 kB / 342.2 MB, free: 6.547 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1551, allocations: 4 kB / 342.2 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.716e-05/0.1552, allocations: 28.84 kB / 342.3 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.1554, allocations: 47.89 kB / 342.3 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.1564, allocations: 1.428 MB / 343.8 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.1567, allocations: 51.89 kB / 343.8 MB, free: 4.852 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1568, allocations: 11.94 kB / 343.8 MB, free: 4.84 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.0002269/0.157, allocations: 220.6 kB / 344 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.157, allocations: 23.72 kB / 344.1 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.1571, allocations: 25.84 kB / 344.1 MB, free: 4.574 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1571, allocations: 4 kB / 344.1 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1571, allocations: 3.984 kB / 344.1 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1571, allocations: 3.938 kB / 344.1 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.1574, allocations: 293.5 kB / 344.4 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1574, allocations: 0 / 344.4 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.1576, allocations: 27.97 kB / 344.4 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/0.1579, allocations: 76.8 kB / 344.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.1579, allocations: 8 kB / 344.5 MB, free: 4.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.1601, allocations: 1.671 MB / 346.2 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1601, allocations: 0 / 346.2 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.1612, allocations: 393.5 kB / 346.5 MB, free: 1.902 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.1613, allocations: 100.8 kB / 346.6 MB, free: 1.785 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1613, allocations: 4 kB / 346.6 MB, free: 1.781 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.1616, allocations: 47.95 kB / 346.7 MB, free: 1.734 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.1617, allocations: 19.98 kB / 346.7 MB, free: 1.715 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1617, allocations: 7.984 kB / 346.7 MB, free: 1.707 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000227/0.162, allocations: 186 kB / 346.9 MB, free: 1.523 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.162, allocations: 3.938 kB / 346.9 MB, free: 1.52 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005864/0.1626, allocations: 119.7 kB / 347 MB, free: 1.402 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.000177/0.1627, allocations: 119.1 kB / 347.1 MB, free: 1.277 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.1643, allocations: 0.7189 MB / 347.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.1643, allocations: 0 / 347.9 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.1648, allocations: 243.5 kB / 348.1 MB, free: 264 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1652, allocations: 48.52 kB / 348.1 MB, free: 216 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1663, allocations: 0.5861 MB / 348.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1667, allocations: 0.7483 MB / 349.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.1667, allocations: 19.44 kB / 349.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1667, allocations: 0 / 349.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Templates: time 0.006884/0.1736, allocations: 4.155 MB / 353.6 MB, free: 10.64 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