Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.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.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.PID_Controller") translateModel(Modelica.Blocks.Examples.PID_Controller,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PI.I.y|inertia1.phi|inertia1.w|integrator.y|spring.phi_rel|spring.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.PID_Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 89.64 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 196.3 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002451/0.0002451, allocations: 8 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1202, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.PID_Controller): time 0.003486/0.1237, allocations: 2.652 MB / 361.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1256, allocations: 0.9393 MB / 362.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.1259, allocations: 15.88 kB / 362.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1262, allocations: 63.48 kB / 362.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.1264, allocations: 75.39 kB / 362.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.1269, allocations: 179.2 kB / 362.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005305/0.1275, allocations: 467 kB / 363.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.1278, allocations: 135.5 kB / 363.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.128, allocations: 151.2 kB / 363.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.1282, allocations: 171.1 kB / 363.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.1283, allocations: 12 kB / 363.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.424e-05/0.1283, allocations: 16 kB / 363.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.958e-05/0.1284, allocations: 75.67 kB / 363.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.854e-05/0.1285, allocations: 97.45 kB / 363.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.1289, allocations: 339.4 kB / 364.1 MB, free: 8.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1289, allocations: 3.938 kB / 364.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1289, allocations: 0 / 364.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1289, allocations: 0 / 364.1 MB, free: 8.73 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001216/0.1301, allocations: 0.7171 MB / 364.9 MB, free: 7.965 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1302, allocations: 8.031 kB / 364.9 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.936e-05/0.1303, allocations: 51.44 kB / 364.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.1307, allocations: 342.7 kB / 365.2 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.1307, allocations: 32.95 kB / 365.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.1308, allocations: 48 kB / 365.3 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000866/0.1317, allocations: 471.2 kB / 365.8 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.1317, allocations: 7.844 kB / 365.8 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.1318, allocations: 16 kB / 365.8 MB, free: 6.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1318, allocations: 12 kB / 365.8 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009194/0.1327, allocations: 419.6 kB / 366.2 MB, free: 6.523 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.1348, allocations: 1.583 MB / 367.8 MB, free: 4.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007762/0.1355, allocations: 339 kB / 368.1 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.136, allocations: 192.6 kB / 368.3 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.136, allocations: 4 kB / 368.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.1361, allocations: 38.56 kB / 368.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=30): time 1.974e-06/0.1361, allocations: 0 / 368.4 MB, free: 4.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.003069/0.1391, allocations: 1.51 MB / 369.9 MB, free: 2.656 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.1392, allocations: 106.8 kB / 370 MB, free: 2.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004534/0.1397, allocations: 353.6 kB / 370.3 MB, free: 2.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.1397, allocations: 37.64 kB / 370.4 MB, free: 2.129 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.1399, allocations: 243.9 kB / 370.6 MB, free: 1.887 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.558e-05/0.14, allocations: 118.3 kB / 370.7 MB, free: 1.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.14, allocations: 12 kB / 370.7 MB, free: 1.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1402, allocations: 346.8 kB / 371.1 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004349/0.1406, allocations: 184.8 kB / 371.3 MB, free: 1.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004897/0.1411, allocations: 281.7 kB / 371.5 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004345/0.1416, allocations: 195.9 kB / 371.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1416, allocations: 0 / 371.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001062/0.1426, allocations: 0.5319 MB / 372.3 MB, free: 196 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.1428, allocations: 156.5 kB / 372.4 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.1428, allocations: 0 / 372.4 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1428, allocations: 4 kB / 372.4 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2396/0.3825, allocations: 255.9 kB / 372.7 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.3841, allocations: 1.538 MB / 374.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004659/0.3846, allocations: 54 kB / 374.3 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.3846, allocations: 15.52 kB / 374.3 MB, free: 18.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3846, allocations: 3.781 kB / 374.3 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001067/0.3857, allocations: 446.1 kB / 374.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3857, allocations: 2.328 kB / 374.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/0.3857, allocations: 4.156 kB / 374.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.3863, allocations: 130.7 kB / 374.8 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3863, allocations: 3.594 kB / 374.8 MB, free: 18.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.3867, allocations: 50.62 kB / 374.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.3867, allocations: 18.73 kB / 374.9 MB, free: 18.23 MB / 302.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: 3 (kinematicPTP.noWphase,integrator.local_reset,PI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002896/0.387, allocations: 245.8 kB / 375.1 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/0.3871, allocations: 42.17 kB / 375.2 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.3872, allocations: 45.69 kB / 375.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.3872, allocations: 4.469 kB / 375.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3873, allocations: 2.719 kB / 375.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3873, allocations: 1.406 kB / 375.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.3894, allocations: 0.9574 MB / 376.2 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3894, allocations: 5 kB / 376.2 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.3899, allocations: 97.64 kB / 376.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.3899, allocations: 6.75 kB / 376.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.39, allocations: 9.141 kB / 376.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.39, allocations: 2.75 kB / 376.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.39, allocations: 1.375 kB / 376.3 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.3916, allocations: 0.7407 MB / 377.1 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.3918, allocations: 134.3 kB / 377.2 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.3918, allocations: 9.047 kB / 377.2 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/0.3921, allocations: 44.34 kB / 377.2 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/0.3922, allocations: 31.91 kB / 377.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.3923, allocations: 12.62 kB / 377.3 MB, free: 17.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003445/0.3926, allocations: 245.1 kB / 377.5 MB, free: 17.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3926, allocations: 0 / 377.5 MB, free: 17.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006347/0.3933, allocations: 135.8 kB / 377.7 MB, free: 17.31 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (PI.I.y,inertia1.phi,spring.phi_rel,spring.w_rel,inertia2.w,integrator.y) * Number of discrete variables: 1 (kinematicPTP.noWphase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001426/0.3934, allocations: 109.4 kB / 377.8 MB, free: 17.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.3955, allocations: 0.7913 MB / 378.6 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3955, allocations: 1.188 kB / 378.6 MB, free: 17.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.396, allocations: 199 kB / 378.8 MB, free: 17.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.3967, allocations: 93.73 kB / 378.8 MB, free: 17.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.3987, allocations: 1.241 MB / 380.1 MB, free: 16.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.3991, allocations: 0.8222 MB / 380.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.3992, allocations: 36.45 kB / 380.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3992, allocations: 0 / 380.9 MB, free: 15.63 MB / 302.1 MB Notification: Performance of Templates: time 0.01233/0.4115, allocations: 5.907 MB / 386.9 MB, free: 14.09 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.PID_Controller.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.Blocks.Examples.PID_ControllerCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.PID_ControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.PID_ControllerCalcHelperMain.o] Error 1