Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007905/0.0007905, allocations: 92.72 kB / 17.59 MB, free: 6.168 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.0008473/0.0008473, allocations: 184.1 kB / 18.47 MB, free: 5.336 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.566/1.566, allocations: 205.4 MB / 224.6 MB, free: 13.14 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.0003973/0.0003973, allocations: 16 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08903/0.08943, allocations: 47.58 MB / 329 MB, free: 4.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.002996/0.09247, allocations: 2.202 MB / 331.2 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.0937, allocations: 0.6713 MB / 331.9 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.09391, allocations: 4 kB / 331.9 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.09406, allocations: 31.77 kB / 331.9 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.09423, allocations: 67.45 kB / 332 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.09453, allocations: 71.86 kB / 332 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.09485, allocations: 290.7 kB / 332.3 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.09502, allocations: 69.03 kB / 332.4 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.0952, allocations: 107.5 kB / 332.5 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.09538, allocations: 123.5 kB / 332.6 MB, free: 432 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.09543, allocations: 12 kB / 332.6 MB, free: 420 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.989e-05/0.09547, allocations: 20 kB / 332.7 MB, free: 400 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.09553, allocations: 43.77 kB / 332.7 MB, free: 356 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.09561, allocations: 69.58 kB / 332.8 MB, free: 280 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.09583, allocations: 223.6 kB / 333 MB, free: 56 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09584, allocations: 0 / 333 MB, free: 56 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.09585, allocations: 0 / 333 MB, free: 56 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.09586, allocations: 0 / 333 MB, free: 56 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001144/0.09701, allocations: 0.5908 MB / 333.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.09706, allocations: 12.03 kB / 333.6 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.107e-05/0.09713, allocations: 23.72 kB / 333.6 MB, free: 15.37 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.09744, allocations: 270.2 kB / 333.9 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.09747, allocations: 16.38 kB / 333.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.09751, allocations: 16 kB / 333.9 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.09805, allocations: 248.5 kB / 334.1 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.09807, allocations: 0 / 334.1 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.0981, allocations: 11.94 kB / 334.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.09812, allocations: 4 kB / 334.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006746/0.0988, allocations: 279.6 kB / 334.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.1004, allocations: 0.8365 MB / 335.3 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.1012, allocations: 270.6 kB / 335.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.1014, allocations: 112.8 kB / 335.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.1015, allocations: 4 kB / 335.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004503/0.1019, allocations: 184.9 kB / 335.8 MB, free: 13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.1019, allocations: 0 / 335.8 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001681/0.1036, allocations: 0.6513 MB / 336.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.1037, allocations: 77.11 kB / 336.6 MB, free: 12.23 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.104, allocations: 244.9 kB / 336.8 MB, free: 11.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.104, allocations: 25.7 kB / 336.8 MB, free: 11.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1042, allocations: 167.9 kB / 337 MB, free: 11.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.1042, allocations: 43.44 kB / 337 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.1042, allocations: 4 kB / 337 MB, free: 11.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1044, allocations: 330.8 kB / 337.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.1046, allocations: 104.1 kB / 337.5 MB, free: 11.29 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.105, allocations: 159.2 kB / 337.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.1053, allocations: 141.5 kB / 337.7 MB, free: 10.97 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1053, allocations: 3.953 kB / 337.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009694/0.1063, allocations: 438.6 kB / 338.2 MB, free: 10.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.1064, allocations: 171.8 kB / 338.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1065, allocations: 0 / 338.3 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/0.1067, allocations: 64.81 kB / 338.4 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.1069, allocations: 43.97 kB / 338.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.1085, allocations: 1.503 MB / 340 MB, free: 8.578 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.1088, allocations: 55.7 kB / 340 MB, free: 8.523 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.1088, allocations: 12 kB / 340 MB, free: 8.512 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.671e-06/0.1088, allocations: 4 kB / 340 MB, free: 8.508 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006231/0.1094, allocations: 290.4 kB / 340.3 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.1094, allocations: 4 kB / 340.3 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.606e-05/0.1095, allocations: 24.84 kB / 340.3 MB, free: 8.184 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.1097, allocations: 47.91 kB / 340.4 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.1109, allocations: 1.385 MB / 341.8 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.1112, allocations: 43.91 kB / 341.8 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1112, allocations: 12 kB / 341.8 MB, free: 6.562 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 (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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001917/0.1114, allocations: 212.7 kB / 342 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.1114, allocations: 15.81 kB / 342 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.1115, allocations: 25.78 kB / 342.1 MB, free: 6.312 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1115, allocations: 4 kB / 342.1 MB, free: 6.309 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1115, allocations: 0 / 342.1 MB, free: 6.309 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1115, allocations: 0 / 342.1 MB, free: 6.309 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.1118, allocations: 297.3 kB / 342.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1118, allocations: 0 / 342.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.112, allocations: 35.97 kB / 342.4 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.1122, allocations: 56.81 kB / 342.5 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1122, allocations: 4 kB / 342.5 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.1137, allocations: 1.491 MB / 344 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1137, allocations: 0 / 344 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009816/0.1147, allocations: 457.6 kB / 344.4 MB, free: 3.773 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.235e-05/0.1148, allocations: 100.8 kB / 344.5 MB, free: 3.656 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.1148, allocations: 4 kB / 344.5 MB, free: 3.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.115, allocations: 36.03 kB / 344.5 MB, free: 3.617 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.1151, allocations: 23.97 kB / 344.6 MB, free: 3.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1151, allocations: 7.938 kB / 344.6 MB, free: 3.586 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1153, allocations: 168.5 kB / 344.7 MB, free: 3.422 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1153, allocations: 0 / 344.7 MB, free: 3.422 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004529/0.1158, allocations: 111.7 kB / 344.8 MB, free: 3.312 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001525/0.1159, allocations: 115.8 kB / 345 MB, free: 3.191 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.1172, allocations: 0.68 MB / 345.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1172, allocations: 3.938 kB / 345.6 MB, free: 2.457 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.1176, allocations: 238.9 kB / 345.9 MB, free: 2.211 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.1179, allocations: 40.42 kB / 345.9 MB, free: 2.172 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.119, allocations: 0.6243 MB / 346.5 MB, free: 1.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1194, allocations: 0.7401 MB / 347.3 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.1195, allocations: 19.44 kB / 347.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1195, allocations: 0 / 347.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of Templates: time 0.006103/0.1256, allocations: 3.913 MB / 351.2 MB, free: 12.82 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.IntegratorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.IntegratorCalcHelperMain.o] Error 1