Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009002/0.0009004, allocations: 89.72 kB / 16.67 MB, free: 6.598 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.001199/0.0012, allocations: 179.4 kB / 17.57 MB, free: 6.188 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.924/1.924, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2644/0.2644, allocations: 43.59 MB / 315.6 MB, free: 420 kB / 254.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.0006019/0.0006018, allocations: 27.09 kB / 385.2 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1621, allocations: 58.86 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003546/0.1657, allocations: 3.003 MB / 447.1 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.1688, allocations: 1.548 MB / 448.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005967/0.1695, allocations: 19.88 kB / 448.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.17, allocations: 111.2 kB / 448.8 MB, free: 468 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.1704, allocations: 166.4 kB / 448.9 MB, free: 304 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1715, allocations: 481.1 kB / 449.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001009/0.1726, allocations: 0.8573 MB / 450.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004808/0.1731, allocations: 222.4 kB / 450.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004947/0.1736, allocations: 298.4 kB / 450.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.1742, allocations: 350.2 kB / 451.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.272e-05/0.1742, allocations: 23.94 kB / 451.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.77e-05/0.1743, allocations: 20 kB / 451.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.1745, allocations: 151.3 kB / 451.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000342/0.1749, allocations: 319.5 kB / 451.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006053/0.1755, allocations: 0.5339 MB / 452.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1755, allocations: 3.938 kB / 452.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.836e-06/0.1755, allocations: 0 / 452.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.1756, allocations: 3.938 kB / 452.2 MB, free: 13.04 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002519/0.1781, allocations: 1.04 MB / 453.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.1782, allocations: 8.031 kB / 453.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.1784, allocations: 95.91 kB / 453.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.1794, allocations: 0.5777 MB / 453.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.1795, allocations: 37.38 kB / 453.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.1796, allocations: 56.28 kB / 454 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.181, allocations: 0.6333 MB / 454.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.181, allocations: 7.938 kB / 454.6 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.483e-05/0.1811, allocations: 20 kB / 454.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.1811, allocations: 12 kB / 454.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.1823, allocations: 0.4977 MB / 455.1 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.1863, allocations: 2.636 MB / 457.8 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.1875, allocations: 0.5812 MB / 458.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.1881, allocations: 270.7 kB / 458.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.356e-05/0.1882, allocations: 15.95 kB / 458.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.1882, allocations: 46.48 kB / 458.7 MB, free: 6.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.844e-06/0.1882, allocations: 4 kB / 458.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.002839/0.1911, allocations: 1.206 MB / 459.9 MB, free: 5.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.1912, allocations: 140.5 kB / 460 MB, free: 4.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.1922, allocations: 0.6529 MB / 460.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.1923, allocations: 37.64 kB / 460.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.1927, allocations: 368 kB / 461.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.1929, allocations: 169.5 kB / 461.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.193, allocations: 65.69 kB / 461.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002616/0.1933, allocations: 333.9 kB / 461.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007601/0.1941, allocations: 281.1 kB / 461.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009539/0.195, allocations: 444.6 kB / 462.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.1966, allocations: 0.7208 MB / 463.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1966, allocations: 0 / 463.1 MB, free: 1.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002124/0.1987, allocations: 0.8687 MB / 463.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000353/0.1991, allocations: 232.1 kB / 464.2 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.1991, allocations: 4 kB / 464.2 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/0.1996, allocations: 56.81 kB / 464.2 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.201, allocations: 211.7 kB / 464.4 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.2029, allocations: 1.495 MB / 465.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007463/0.2037, allocations: 95.72 kB / 466 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.2037, allocations: 20 kB / 466 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2038, allocations: 4 kB / 466 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001722/0.2055, allocations: 0.7386 MB / 466.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.2055, allocations: 4 kB / 466.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001983/0.2057, allocations: 64.75 kB / 466.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008343/0.2066, allocations: 195.8 kB / 467 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.2081, allocations: 1.495 MB / 468.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/0.2088, allocations: 83.64 kB / 468.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.2089, allocations: 20 kB / 468.6 MB, free: 11.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004842/0.2094, allocations: 308.8 kB / 468.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.2096, allocations: 79.09 kB / 469 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.2098, allocations: 94.22 kB / 469.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.2098, allocations: 8 kB / 469.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2098, allocations: 0 / 469.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2099, allocations: 0 / 469.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.2114, allocations: 0.8609 MB / 470 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2114, allocations: 0 / 470 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.2121, allocations: 119.9 kB / 470.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.2121, allocations: 0 / 470.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.2122, allocations: 23.92 kB / 470.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.2122, allocations: 3.938 kB / 470.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.2122, allocations: 7.938 kB / 470.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.2145, allocations: 1.192 MB / 471.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/0.2148, allocations: 196.1 kB / 471.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.245e-05/0.2149, allocations: 16 kB / 471.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006398/0.2156, allocations: 67.94 kB / 471.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.2157, allocations: 39.88 kB / 471.6 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.2158, allocations: 12 kB / 471.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007554/0.2165, allocations: 474.9 kB / 472.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2165, allocations: 0 / 472.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009435/0.2175, allocations: 196 kB / 472.3 MB, free: 7.961 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.2177, allocations: 107.2 kB / 472.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.2206, allocations: 1.249 MB / 473.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2206, allocations: 0 / 473.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.2215, allocations: 307.1 kB / 473.9 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.2228, allocations: 180.1 kB / 474.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/0.2262, allocations: 1.854 MB / 476 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007171/0.227, allocations: 0.9612 MB / 476.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.2272, allocations: 47.42 kB / 477 MB, free: 3.168 MB / 350.1 MB Notification: Performance of SimCode: time 1.653e-06/0.2272, allocations: 0 / 477 MB, free: 3.168 MB / 350.1 MB Notification: Performance of Templates: time 0.01846/0.2457, allocations: 10.01 MB / 487 MB, free: 9.18 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyStateCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyStateCalcHelperMain.o] Error 1