Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.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.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch.u.1.|multiSwitch.u.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001517/0.001517, allocations: 190 kB / 18.72 MB, free: 4.781 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.851/1.851, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.00157/0.00157, allocations: 47.92 kB / 280.6 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1684, allocations: 46.64 MB / 327.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.004495/0.173, allocations: 1.91 MB / 329.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.1743, allocations: 0.6086 MB / 329.8 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.1745, allocations: 4 kB / 329.8 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.1747, allocations: 19.8 kB / 329.8 MB, free: 2.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1748, allocations: 31.72 kB / 329.8 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1751, allocations: 59.95 kB / 329.9 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1753, allocations: 155.5 kB / 330 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1756, allocations: 69.31 kB / 330.1 MB, free: 2.027 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1757, allocations: 63.75 kB / 330.2 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.1759, allocations: 83.5 kB / 330.2 MB, free: 1.883 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.1759, allocations: 8 kB / 330.2 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.176, allocations: 16 kB / 330.3 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1761, allocations: 47.78 kB / 330.3 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.1763, allocations: 79.52 kB / 330.4 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1765, allocations: 116 kB / 330.5 MB, free: 1.621 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1765, allocations: 4 kB / 330.5 MB, free: 1.617 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1765, allocations: 0 / 330.5 MB, free: 1.617 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1765, allocations: 0 / 330.5 MB, free: 1.617 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001101/0.1776, allocations: 0.5028 MB / 331 MB, free: 1.066 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1777, allocations: 12.03 kB / 331 MB, free: 1.055 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.1777, allocations: 20.66 kB / 331 MB, free: 1.035 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.1781, allocations: 235.7 kB / 331.3 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.1781, allocations: 16.66 kB / 331.3 MB, free: 0.75 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.1781, allocations: 12.38 kB / 331.3 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.1786, allocations: 199.3 kB / 331.5 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.1786, allocations: 7.938 kB / 331.5 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.1786, allocations: 12 kB / 331.5 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.1786, allocations: 4 kB / 331.5 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.179, allocations: 143.8 kB / 331.7 MB, free: 372 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.1802, allocations: 0.774 MB / 332.4 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/0.1806, allocations: 165 kB / 332.6 MB, free: 15.35 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.1808, allocations: 77.8 kB / 332.7 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/0.1808, allocations: 0 / 332.7 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003673/0.1812, allocations: 156.9 kB / 332.8 MB, free: 15.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1812, allocations: 0 / 332.8 MB, free: 15.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.000732/0.1819, allocations: 253.4 kB / 333.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.182, allocations: 89.03 kB / 333.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1823, allocations: 199 kB / 333.3 MB, free: 14.53 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.1823, allocations: 37.7 kB / 333.4 MB, free: 14.49 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1825, allocations: 140.1 kB / 333.5 MB, free: 14.34 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.1825, allocations: 39.45 kB / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.844e-05/0.1826, allocations: 45.7 kB / 333.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1828, allocations: 330.8 kB / 333.9 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1829, allocations: 67.95 kB / 334 MB, free: 13.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.1831, allocations: 126.8 kB / 334.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.1835, allocations: 210.5 kB / 334.3 MB, free: 13.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1835, allocations: 0 / 334.3 MB, free: 13.48 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004866/0.184, allocations: 237.1 kB / 334.6 MB, free: 13.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1841, allocations: 8.188 kB / 334.6 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1841, allocations: 4 kB / 334.6 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1841, allocations: 0 / 334.6 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.1843, allocations: 39.91 kB / 334.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1843, allocations: 0 / 334.6 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.1845, allocations: 31.81 kB / 334.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.1845, allocations: 12 kB / 334.6 MB, free: 13.14 MB / 286.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: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch.firstActiveIndex,multiSwitch.u[2],multiSwitch.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 0.0002125/0.1847, allocations: 141.7 kB / 334.8 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.1848, allocations: 27.8 kB / 334.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005365/0.1853, allocations: 207.7 kB / 335 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1853, allocations: 0 / 335 MB, free: 12.76 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.1853, allocations: 4 kB / 335 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1854, allocations: 0 / 335 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.1857, allocations: 269.5 kB / 335.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1857, allocations: 3.938 kB / 335.3 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.1858, allocations: 23.92 kB / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.1858, allocations: 8 kB / 335.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.1859, allocations: 3.984 kB / 335.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.1859, allocations: 4 kB / 335.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1859, allocations: 4 kB / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.1863, allocations: 225.6 kB / 335.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.1864, allocations: 92.92 kB / 335.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.1864, allocations: 7.984 kB / 335.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.1866, allocations: 19.97 kB / 335.7 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.1867, allocations: 15.98 kB / 335.7 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1867, allocations: 11.92 kB / 335.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1868, allocations: 140.6 kB / 335.8 MB, free: 11.85 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1868, allocations: 0 / 335.8 MB, free: 11.85 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1871, allocations: 43.84 kB / 335.9 MB, free: 11.81 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001807/0.1873, allocations: 103.3 kB / 336 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004008/0.1877, allocations: 179.8 kB / 336.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1877, allocations: 0 / 336.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1879, allocations: 87.88 kB / 336.2 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.1883, allocations: 52.23 kB / 336.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008235/0.1891, allocations: 467.5 kB / 336.7 MB, free: 10.89 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.1896, allocations: 0.7397 MB / 337.5 MB, free: 10.13 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.1896, allocations: 15.44 kB / 337.5 MB, free: 10.11 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1897, allocations: 0 / 337.5 MB, free: 10.11 MB / 286.1 MB Notification: Performance of Templates: time 0.005406/0.1951, allocations: 2.406 MB / 339.9 MB, free: 7.711 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1.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 OMCppModelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.RealNetwork1CalcHelperMain.o] Error 1