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.0006978/0.0006978, allocations: 83.38 kB / 17.58 MB, free: 5.758 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.0007833/0.0007833, allocations: 183.9 kB / 18.48 MB, free: 5.207 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.594/1.594, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004124/0.0004124, allocations: 16 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09625/0.09667, allocations: 47.59 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00245/0.09915, allocations: 2.307 MB / 331.3 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009386/0.1001, allocations: 0.6791 MB / 332 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1002, allocations: 4 kB / 332 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.409e-05/0.1003, allocations: 31.77 kB / 332 MB, free: 1.031 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1005, allocations: 75.38 kB / 332.1 MB, free: 0.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.1007, allocations: 71.91 kB / 332.2 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.1009, allocations: 318.6 kB / 332.5 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1011, allocations: 69.08 kB / 332.5 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1012, allocations: 107.6 kB / 332.6 MB, free: 416 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1014, allocations: 135.3 kB / 332.8 MB, free: 280 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.193e-05/0.1014, allocations: 20 kB / 332.8 MB, free: 260 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.538e-05/0.1015, allocations: 16 kB / 332.8 MB, free: 244 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.1015, allocations: 55.75 kB / 332.9 MB, free: 188 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.1016, allocations: 69.58 kB / 332.9 MB, free: 112 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.1018, allocations: 235.6 kB / 333.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1018, allocations: 4 kB / 333.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1018, allocations: 0 / 333.2 MB, free: 15.88 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1018, allocations: 0 / 333.2 MB, free: 15.88 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.0008991/0.1027, allocations: 0.6067 MB / 333.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1028, allocations: 12.02 kB / 333.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.1028, allocations: 31.62 kB / 333.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1031, allocations: 274.4 kB / 334.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1031, allocations: 16.44 kB / 334.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.1031, allocations: 31.92 kB / 334.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.1037, allocations: 251.2 kB / 334.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1037, allocations: 3.984 kB / 334.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1037, allocations: 12 kB / 334.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1037, allocations: 4 kB / 334.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006345/0.1044, allocations: 273.6 kB / 334.7 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1057, allocations: 0.8973 MB / 335.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.1064, allocations: 274.5 kB / 335.8 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.1067, allocations: 124.7 kB / 336 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1067, allocations: 0 / 336 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004325/0.1072, allocations: 197.9 kB / 336.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/0.1072, allocations: 0 / 336.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002011/0.1092, allocations: 0.7488 MB / 336.9 MB, free: 11.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.1093, allocations: 110.8 kB / 337 MB, free: 11.78 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.1096, allocations: 274.5 kB / 337.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1096, allocations: 29.7 kB / 337.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.1097, allocations: 175.9 kB / 337.5 MB, free: 11.29 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.1097, allocations: 47.38 kB / 337.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.1097, allocations: 4 kB / 337.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1099, allocations: 334.8 kB / 337.9 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.1102, allocations: 111.9 kB / 338 MB, free: 10.79 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.1105, allocations: 189.3 kB / 338.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.1108, allocations: 149.6 kB / 338.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1108, allocations: 0 / 338.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001065/0.1119, allocations: 494.9 kB / 338.8 MB, free: 9.926 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-05/0.112, allocations: 173.5 kB / 338.9 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.112, allocations: 7.984 kB / 339 MB, free: 9.711 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.1123, allocations: 80.81 kB / 339 MB, free: 9.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.1125, allocations: 47.95 kB / 339.1 MB, free: 9.582 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.1148, allocations: 1.861 MB / 340.9 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.1151, allocations: 67.7 kB / 341 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.1151, allocations: 8 kB / 341 MB, free: 7.504 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.1152, allocations: 4 kB / 341 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00061/0.1158, allocations: 310.4 kB / 341.3 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1158, allocations: 224 / 341.3 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.828e-05/0.1159, allocations: 28.88 kB / 341.3 MB, free: 7.156 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.116, allocations: 59.84 kB / 341.4 MB, free: 7.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007758/0.1168, allocations: 1.3 MB / 342.7 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.1171, allocations: 51.88 kB / 342.8 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1171, allocations: 4 kB / 342.8 MB, free: 5.609 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 ($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 (20): * Single equations (assignments): 18 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.1173, allocations: 225 kB / 343 MB, free: 5.379 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.1173, allocations: 19.72 kB / 343 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.1174, allocations: 25.83 kB / 343 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1174, allocations: 0 / 343 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.1174, allocations: 0 / 343 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1174, allocations: 11.98 kB / 343 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.1177, allocations: 293.4 kB / 343.3 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1177, allocations: 0 / 343.3 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.1178, allocations: 27.97 kB / 343.4 MB, free: 4.965 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002289/0.118, allocations: 84.8 kB / 343.4 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1181, allocations: 0 / 343.4 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/0.1199, allocations: 1.768 MB / 345.2 MB, free: 2.977 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.12, allocations: 3.953 kB / 345.2 MB, free: 2.973 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009051/0.1209, allocations: 393.5 kB / 345.6 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.1209, allocations: 104.8 kB / 345.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.121, allocations: 0 / 345.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.1212, allocations: 47.95 kB / 345.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.1213, allocations: 23.91 kB / 345.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1213, allocations: 4 kB / 345.8 MB, free: 2.371 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001833/0.1215, allocations: 197.9 kB / 346 MB, free: 2.176 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1215, allocations: 0 / 346 MB, free: 2.176 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004857/0.122, allocations: 123.7 kB / 346.1 MB, free: 2.055 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001223/0.1221, allocations: 99.25 kB / 346.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.1236, allocations: 0.8049 MB / 347 MB, free: 1.094 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1236, allocations: 3.938 kB / 347 MB, free: 1.09 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.1241, allocations: 251 kB / 347.2 MB, free: 0.832 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.1244, allocations: 44.53 kB / 347.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.127, allocations: 1.063 MB / 348.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1273, allocations: 0.756 MB / 349.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.1274, allocations: 19.44 kB / 349.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of SimCode: time 1.502e-06/0.1274, allocations: 0 / 349.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Templates: time 0.005645/0.1331, allocations: 4.211 MB / 353.3 MB, free: 10.68 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++ 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_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