Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001212/0.001212, allocations: 92.09 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001438/0.001438, allocations: 198.5 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.649/1.649, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002726, allocations: 8 kB / 307.3 MB, free: 1.383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1403, allocations: 51.5 MB / 358.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003888/0.1443, allocations: 2.366 MB / 361.2 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1459, allocations: 0.6704 MB / 361.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.1461, allocations: 4 kB / 361.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1462, allocations: 27.77 kB / 361.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1464, allocations: 75.39 kB / 362 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.1467, allocations: 63.91 kB / 362 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003738/0.1471, allocations: 318.6 kB / 362.3 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1473, allocations: 73.11 kB / 362.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.1475, allocations: 115.5 kB / 362.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.1477, allocations: 131.4 kB / 362.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.1477, allocations: 12 kB / 362.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.1478, allocations: 16 kB / 362.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.1478, allocations: 47.77 kB / 362.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.083e-05/0.1479, allocations: 77.52 kB / 362.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.1482, allocations: 231.6 kB / 363 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1482, allocations: 3.984 kB / 363 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1482, allocations: 0 / 363 MB, free: 9.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1483, allocations: 4 kB / 363 MB, free: 9.648 MB / 302.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.001237/0.1495, allocations: 0.6249 MB / 363.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1495, allocations: 8.031 kB / 363.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.377e-05/0.1496, allocations: 27.72 kB / 363.7 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.15, allocations: 266.5 kB / 363.9 MB, free: 8.633 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.15, allocations: 24.39 kB / 364 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.1501, allocations: 20 kB / 364 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.1507, allocations: 289.7 kB / 364.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1508, allocations: 0 / 364.3 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.1508, allocations: 12 kB / 364.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1508, allocations: 4 kB / 364.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.1516, allocations: 269.6 kB / 364.5 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.1532, allocations: 0.9637 MB / 365.5 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.154, allocations: 274.5 kB / 365.8 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.1544, allocations: 120.8 kB / 365.9 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1544, allocations: 0 / 365.9 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005237/0.155, allocations: 197.8 kB / 366.1 MB, free: 6.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.155, allocations: 4 kB / 366.1 MB, free: 6.359 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002355/0.1573, allocations: 0.7369 MB / 366.8 MB, free: 5.598 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/0.1574, allocations: 107 kB / 366.9 MB, free: 5.469 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000325/0.1578, allocations: 262.6 kB / 367.2 MB, free: 5.207 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.1578, allocations: 33.64 kB / 367.2 MB, free: 5.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.158, allocations: 171.9 kB / 367.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.164e-05/0.158, allocations: 43.45 kB / 367.4 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/0.158, allocations: 4 kB / 367.4 MB, free: 4.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1582, allocations: 334.8 kB / 367.8 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.1585, allocations: 115.9 kB / 367.9 MB, free: 4.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.1589, allocations: 183.6 kB / 368.1 MB, free: 4.293 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.1593, allocations: 153.5 kB / 368.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1593, allocations: 0 / 368.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001165/0.1605, allocations: 467.6 kB / 368.7 MB, free: 3.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.1606, allocations: 33.7 kB / 368.7 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1606, allocations: 7.953 kB / 368.7 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.161, allocations: 88.8 kB / 368.8 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.1612, allocations: 43.91 kB / 368.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.1637, allocations: 1.803 MB / 370.6 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.1641, allocations: 55.75 kB / 370.7 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.1641, allocations: 11.98 kB / 370.7 MB, free: 1.469 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001879/0.1643, allocations: 145.8 kB / 370.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.1643, allocations: 23.72 kB / 370.9 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.1644, allocations: 21.83 kB / 370.9 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1644, allocations: 4 kB / 370.9 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.1644, allocations: 0 / 370.9 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1644, allocations: 0 / 370.9 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.1647, allocations: 293.4 kB / 371.2 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1647, allocations: 3.953 kB / 371.2 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.1649, allocations: 31.97 kB / 371.2 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002583/0.1652, allocations: 76.8 kB / 371.3 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1652, allocations: 8 kB / 371.3 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2816/0.4467, allocations: 1.656 MB / 373 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.4468, allocations: 1.906 kB / 373 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.4482, allocations: 394.7 kB / 373.3 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/0.4483, allocations: 100 kB / 373.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.4484, allocations: 5.391 kB / 373.4 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.4486, allocations: 43.48 kB / 373.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.4488, allocations: 24.39 kB / 373.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4488, allocations: 4.141 kB / 373.5 MB, free: 18.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000298/0.4491, allocations: 191.4 kB / 373.7 MB, free: 18.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4491, allocations: 1.188 kB / 373.7 MB, free: 18.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004855/0.4496, allocations: 75.67 kB / 373.8 MB, free: 18.46 MB / 302.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.0002207/0.4498, allocations: 101.8 kB / 373.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.451, allocations: 442 kB / 374.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.451, allocations: 0 / 374.3 MB, free: 18.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005461/0.4516, allocations: 241.6 kB / 374.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.452, allocations: 47.27 kB / 374.6 MB, free: 18.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.4533, allocations: 0.5429 MB / 375.1 MB, free: 17.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.4537, allocations: 0.7467 MB / 375.9 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.4538, allocations: 22.67 kB / 375.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4538, allocations: 0 / 375.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of Templates: time 0.01222/0.466, allocations: 4.136 MB / 380 MB, free: 16.85 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTriggerCalcHelperMain.o] Error 1