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.0007588/0.0007624, allocations: 89.14 kB / 17.58 MB, free: 6.219 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.0009072/0.0009074, allocations: 188.5 kB / 18.48 MB, free: 5.379 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.588/1.588, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0004111/0.0004111, allocations: 8 kB / 281.4 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.0976, allocations: 47.59 MB / 329 MB, free: 4.078 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.002647/0.1003, allocations: 2.311 MB / 331.3 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.1013, allocations: 0.6791 MB / 332 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.1014, allocations: 4 kB / 332 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.1016, allocations: 31.75 kB / 332 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.1017, allocations: 79.39 kB / 332.1 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1019, allocations: 67.91 kB / 332.2 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.1023, allocations: 318.6 kB / 332.5 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1024, allocations: 73.05 kB / 332.6 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1026, allocations: 111.5 kB / 332.7 MB, free: 404 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.1027, allocations: 123.5 kB / 332.8 MB, free: 280 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.1028, allocations: 16 kB / 332.8 MB, free: 264 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.704e-05/0.1028, allocations: 16 kB / 332.8 MB, free: 248 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.1029, allocations: 55.75 kB / 332.9 MB, free: 192 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.1029, allocations: 69.58 kB / 332.9 MB, free: 116 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1032, allocations: 243.6 kB / 333.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1032, allocations: 0 / 333.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1032, allocations: 0 / 333.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1032, allocations: 0 / 333.2 MB, free: 15.87 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.001023/0.1042, allocations: 0.6105 MB / 333.8 MB, free: 15.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1043, allocations: 16.03 kB / 333.8 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.267e-05/0.1044, allocations: 31.62 kB / 333.8 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1047, allocations: 278.4 kB / 334.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1047, allocations: 12.44 kB / 334.1 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.1047, allocations: 20 kB / 334.1 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005552/0.1053, allocations: 255.2 kB / 334.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1053, allocations: 0 / 334.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.1053, allocations: 15.98 kB / 334.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1054, allocations: 4 kB / 334.4 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006603/0.106, allocations: 273.5 kB / 334.7 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.1074, allocations: 0.8934 MB / 335.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.1081, allocations: 278.5 kB / 335.8 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.1084, allocations: 120.8 kB / 336 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1085, allocations: 3.984 kB / 336 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004385/0.1089, allocations: 193.9 kB / 336.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.1089, allocations: 0 / 336.1 MB, free: 12.69 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002063/0.111, allocations: 0.7488 MB / 336.9 MB, free: 11.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.1111, allocations: 111 kB / 337 MB, free: 11.78 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1113, allocations: 262.5 kB / 337.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1113, allocations: 33.64 kB / 337.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1115, allocations: 172 kB / 337.5 MB, free: 11.3 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.1115, allocations: 39.45 kB / 337.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.1115, allocations: 8 kB / 337.5 MB, free: 11.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.1116, allocations: 330.8 kB / 337.8 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.1119, allocations: 112.1 kB / 337.9 MB, free: 10.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.1122, allocations: 176 kB / 338.1 MB, free: 10.62 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.1126, allocations: 145.6 kB / 338.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1126, allocations: 0 / 338.3 MB, free: 10.47 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001055/0.1136, allocations: 479.2 kB / 338.7 MB, free: 9.988 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.35e-05/0.1137, allocations: 163.9 kB / 338.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1138, allocations: 0 / 338.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003174/0.1141, allocations: 92.73 kB / 339 MB, free: 9.703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.1143, allocations: 39.97 kB / 339 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00213/0.1164, allocations: 1.811 MB / 340.8 MB, free: 7.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.1167, allocations: 67.67 kB / 340.9 MB, free: 7.645 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.1167, allocations: 8 kB / 340.9 MB, free: 7.637 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.102e-06/0.1167, allocations: 7.438 kB / 340.9 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000611/0.1174, allocations: 294.3 kB / 341.2 MB, free: 7.336 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.1174, allocations: 4 kB / 341.2 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.483e-05/0.1174, allocations: 28.84 kB / 341.2 MB, free: 7.301 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1176, allocations: 47.97 kB / 341.3 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009382/0.1186, allocations: 1.436 MB / 342.7 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.1188, allocations: 43.81 kB / 342.7 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1188, allocations: 8 kB / 342.8 MB, free: 5.633 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 ($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 (18): * Single equations (assignments): 16 * 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.0001495/0.119, allocations: 213.1 kB / 343 MB, free: 5.414 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.119, allocations: 27.72 kB / 343 MB, free: 5.387 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.706e-05/0.1191, allocations: 21.83 kB / 343 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1191, allocations: 8.094 kB / 343 MB, free: 5.363 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.1191, allocations: 3.984 kB / 343 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1191, allocations: 0 / 343 MB, free: 5.359 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1193, allocations: 293.4 kB / 343.3 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1193, allocations: 0 / 343.3 MB, free: 5.023 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001268/0.1195, allocations: 35.91 kB / 343.3 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/0.1197, allocations: 76.81 kB / 343.4 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1197, allocations: 7.984 kB / 343.4 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.1215, allocations: 1.671 MB / 345.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1215, allocations: 0 / 345.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008969/0.1224, allocations: 393.5 kB / 345.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.1225, allocations: 108.8 kB / 345.6 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.1225, allocations: 0 / 345.6 MB, free: 2.566 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1227, allocations: 43.97 kB / 345.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.1228, allocations: 19.97 kB / 345.7 MB, free: 2.504 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1228, allocations: 7.984 kB / 345.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.123, allocations: 189.9 kB / 345.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.123, allocations: 4 kB / 345.8 MB, free: 2.305 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004795/0.1235, allocations: 123.7 kB / 346 MB, free: 2.184 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.0001189/0.1236, allocations: 99.23 kB / 346.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.1249, allocations: 0.7345 MB / 346.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1249, allocations: 0 / 346.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.1253, allocations: 239.5 kB / 347 MB, free: 1.047 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.1256, allocations: 52.47 kB / 347.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008759/0.1265, allocations: 0.5505 MB / 347.6 MB, free: 428 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1268, allocations: 0.7483 MB / 348.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.1268, allocations: 19.44 kB / 348.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1268, allocations: 0 / 348.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of Templates: time 0.005578/0.1324, allocations: 4.164 MB / 352.6 MB, free: 11.46 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++ 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.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