Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009541/0.0009543, allocations: 103 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 177.1 kB / 16.58 MB, free: 6.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 222.8 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05946/0.05946, allocations: 10.75 MB / 281.8 MB, free: 10.56 MB / 238.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.0006645/0.0006646, allocations: 18.97 kB / 342.3 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1515, allocations: 50 MB / 392.3 MB, free: 5.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002504/0.1541, allocations: 1.499 MB / 393.8 MB, free: 4.273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1553, allocations: 0.5608 MB / 394.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.1554, allocations: 4 kB / 394.3 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.195e-05/0.1554, allocations: 15.86 kB / 394.3 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.1556, allocations: 15.81 kB / 394.4 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000528/0.1561, allocations: 135.7 kB / 394.5 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.1564, allocations: 183.4 kB / 394.7 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.1566, allocations: 36.39 kB / 394.7 MB, free: 3.332 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.1567, allocations: 71.58 kB / 394.8 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1568, allocations: 95.41 kB / 394.9 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.1569, allocations: 8 kB / 394.9 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002281/0.1571, allocations: 135.9 kB / 395 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1572, allocations: 39.83 kB / 395 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.77e-05/0.1573, allocations: 65.55 kB / 395.1 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.1576, allocations: 215.6 kB / 395.3 MB, free: 2.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.631e-05/0.1576, allocations: 7.938 kB / 395.3 MB, free: 2.699 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1576, allocations: 0 / 395.3 MB, free: 2.699 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1576, allocations: 0 / 395.3 MB, free: 2.699 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008852/0.1585, allocations: 0.5136 MB / 395.8 MB, free: 2.141 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1586, allocations: 16.03 kB / 395.9 MB, free: 2.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.158e-05/0.1586, allocations: 27.67 kB / 395.9 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.159, allocations: 258.5 kB / 396.1 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.159, allocations: 8 kB / 396.1 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.1591, allocations: 19.98 kB / 396.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.1595, allocations: 178.5 kB / 396.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1595, allocations: 0 / 396.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.1595, allocations: 3.984 kB / 396.3 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1595, allocations: 4 kB / 396.3 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.1597, allocations: 71.91 kB / 396.4 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1607, allocations: 0.5275 MB / 396.9 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.1611, allocations: 142.6 kB / 397.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.1612, allocations: 60.83 kB / 397.1 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1612, allocations: 0 / 397.1 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.1616, allocations: 155.3 kB / 397.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.1616, allocations: 0 / 397.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005995/0.1622, allocations: 265.2 kB / 397.6 MB, free: 292 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.1623, allocations: 162.2 kB / 397.7 MB, free: 92 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.1626, allocations: 254.7 kB / 398 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.1627, allocations: 45.69 kB / 398 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1628, allocations: 152.4 kB / 398.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.1629, allocations: 63.09 kB / 398.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.1629, allocations: 4 kB / 398.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1631, allocations: 342.8 kB / 398.6 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1632, allocations: 52.25 kB / 398.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.1634, allocations: 189.6 kB / 398.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.1636, allocations: 91.92 kB / 398.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1636, allocations: 0 / 398.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004359/0.1641, allocations: 273.2 kB / 399.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1641, allocations: 4 kB / 399.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1641, allocations: 4 kB / 399.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.1641, allocations: 8 kB / 399.2 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.1644, allocations: 59.91 kB / 399.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.1644, allocations: 7.984 kB / 399.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.1646, allocations: 27.8 kB / 399.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.1646, allocations: 24.14 kB / 399.3 MB, free: 14.42 MB / 302.1 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.complexPoles_dig.y,complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,$PRE.complexPoles_dig.y_pre1,complexPoles_dig.y_pre1,$PRE.lLag_dig.y,lLag_dig.y,$PRE.fO_dig.y,fO_dig.y,$PRE.int_dig.y,int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 prepare postOptimizeDAE: time 0.0002222/0.1649, allocations: 141.7 kB / 399.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.1649, allocations: 23.72 kB / 399.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.165, allocations: 30.17 kB / 399.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.165, allocations: 4 kB / 399.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.165, allocations: 48 / 399.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.165, allocations: 3.984 kB / 399.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.1657, allocations: 0.5562 MB / 400 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1658, allocations: 4 kB / 400 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.166, allocations: 43.91 kB / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.166, allocations: 4 kB / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.166, allocations: 0 / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.166, allocations: 4 kB / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.166, allocations: 4 kB / 400.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005743/0.1666, allocations: 395 kB / 400.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1667, allocations: 104.7 kB / 400.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.1668, allocations: 8.062 kB / 400.6 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1669, allocations: 19.98 kB / 400.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.167, allocations: 11.92 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.167, allocations: 12 kB / 400.6 MB, free: 12.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.1672, allocations: 186 kB / 400.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1672, allocations: 0 / 400.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003729/0.1676, allocations: 75.98 kB / 400.9 MB, free: 12.71 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002605/0.1678, allocations: 163.1 kB / 401 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000361/0.1682, allocations: 167.8 kB / 401.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1682, allocations: 0 / 401.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.1684, allocations: 84.28 kB / 401.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.1688, allocations: 47.17 kB / 401.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.17, allocations: 0.5929 MB / 401.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.1703, allocations: 0.7482 MB / 402.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.1704, allocations: 27.38 kB / 402.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1704, allocations: 0 / 402.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of Templates: time 0.006286/0.1767, allocations: 3.175 MB / 405.9 MB, free: 7.648 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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 OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicCalcHelperMain.o] Error 1