Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001413/0.001413, allocations: 92.17 kB / 16.95 MB, free: 5.605 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.00191/0.00191, allocations: 184.5 kB / 17.85 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.3 MB / 241.9 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 4 kB / 301.4 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 50.42 MB / 351.9 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.00226/0.1449, allocations: 1.524 MB / 353.4 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1459, allocations: 0.5379 MB / 353.9 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.146, allocations: 7.938 kB / 353.9 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.1462, allocations: 11.86 kB / 353.9 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.1463, allocations: 35.72 kB / 354 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.1465, allocations: 51.94 kB / 354 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.1468, allocations: 151.4 kB / 354.2 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1469, allocations: 53.59 kB / 354.2 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.1471, allocations: 59.7 kB / 354.3 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1472, allocations: 59.64 kB / 354.3 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.1472, allocations: 8 kB / 354.4 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.971e-05/0.1473, allocations: 15.98 kB / 354.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.036e-05/0.1474, allocations: 31.84 kB / 354.4 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.1474, allocations: 49.64 kB / 354.4 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1476, allocations: 115.9 kB / 354.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1476, allocations: 0 / 354.6 MB, free: 1.062 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1476, allocations: 4 kB / 354.6 MB, free: 1.059 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1477, allocations: 0 / 354.6 MB, free: 1.059 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008623/0.1485, allocations: 494.8 kB / 355 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1486, allocations: 8.031 kB / 355.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.1486, allocations: 23.72 kB / 355.1 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.1489, allocations: 230.6 kB / 355.3 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.149, allocations: 16.28 kB / 355.3 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.149, allocations: 12 kB / 355.3 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.1494, allocations: 203.8 kB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1495, allocations: 3.953 kB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1495, allocations: 4 kB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.1495, allocations: 8 kB / 355.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.1498, allocations: 147.8 kB / 355.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.1509, allocations: 0.7974 MB / 356.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.1512, allocations: 165.1 kB / 356.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1514, allocations: 77.8 kB / 356.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.1514, allocations: 12.08 kB / 356.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.1517, allocations: 152.3 kB / 356.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.1517, allocations: 0 / 356.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006033/0.1523, allocations: 277.2 kB / 357.2 MB, free: 14.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.1524, allocations: 77.11 kB / 357.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.1526, allocations: 202.9 kB / 357.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1526, allocations: 33.69 kB / 357.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.1527, allocations: 140.1 kB / 357.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.1527, allocations: 39.45 kB / 357.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.1528, allocations: 4 kB / 357.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1529, allocations: 334.8 kB / 358 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.153, allocations: 71.95 kB / 358 MB, free: 13.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.1532, allocations: 133.6 kB / 358.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.1534, allocations: 87.92 kB / 358.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1534, allocations: 0 / 358.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004479/0.1539, allocations: 253.1 kB / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1539, allocations: 10.5 kB / 358.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1539, allocations: 4 kB / 358.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1539, allocations: 4 kB / 358.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.1541, allocations: 44.11 kB / 358.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.1541, allocations: 3.984 kB / 358.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.1543, allocations: 31.83 kB / 358.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.1543, allocations: 12 kB / 358.6 MB, free: 12.72 MB / 302.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,$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulseStart,booleanPulse2.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.1544, allocations: 141.7 kB / 358.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1545, allocations: 19.81 kB / 358.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.1549, allocations: 218.8 kB / 359 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1549, allocations: 4 kB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.155, allocations: 112 / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.155, allocations: 3.938 kB / 359 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.1552, allocations: 269.4 kB / 359.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1553, allocations: 11.95 kB / 359.3 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1554, allocations: 23.92 kB / 359.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1554, allocations: 0 / 359.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1554, allocations: 8.094 kB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1554, allocations: 3.938 kB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1554, allocations: 0 / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.1558, allocations: 233.6 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.1559, allocations: 104.8 kB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1559, allocations: 4 kB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.156, allocations: 23.98 kB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.1561, allocations: 19.97 kB / 359.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1561, allocations: 4 kB / 359.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.1562, allocations: 136.6 kB / 359.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1563, allocations: 0 / 359.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1565, allocations: 43.84 kB / 359.9 MB, free: 11.36 MB / 302.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 (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.0001571/0.1567, allocations: 106.2 kB / 360 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003705/0.1571, allocations: 180.6 kB / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1571, allocations: 0 / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.1573, allocations: 87.89 kB / 360.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.1576, allocations: 44.75 kB / 360.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/0.1583, allocations: 456.6 kB / 360.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1587, allocations: 0.736 MB / 361.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.1587, allocations: 23.36 kB / 361.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1587, allocations: 3.938 kB / 361.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of Templates: time 0.00509/0.1638, allocations: 2.391 MB / 363.9 MB, free: 7.305 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.RealNetwork1.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.RealNetwork1.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_4.0.0_Modelica.Blocks.Examples.RealNetwork1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.RealNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.RealNetwork1CalcHelperMain.o] Error 1