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.0008035/0.0008035, allocations: 86.92 kB / 17.58 MB, free: 6.219 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.0009353/0.0009353, allocations: 187.6 kB / 18.48 MB, free: 5.379 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.563/1.563, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004642/0.0004642, allocations: 12 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1169, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.002337/0.1193, allocations: 1.521 MB / 330.5 MB, free: 2.539 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1205, allocations: 0.5856 MB / 331.1 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1206, allocations: 7.938 kB / 331.1 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.1208, allocations: 19.84 kB / 331.1 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.1209, allocations: 27.73 kB / 331.1 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1212, allocations: 55.94 kB / 331.2 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.1214, allocations: 143.4 kB / 331.3 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1216, allocations: 57.42 kB / 331.4 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.1217, allocations: 51.73 kB / 331.4 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1219, allocations: 67.61 kB / 331.5 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.1219, allocations: 4 kB / 331.5 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.122, allocations: 12 kB / 331.5 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.122, allocations: 31.84 kB / 331.5 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.1221, allocations: 53.64 kB / 331.6 MB, free: 1.414 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1223, allocations: 123.9 kB / 331.7 MB, free: 1.293 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1223, allocations: 4 kB / 331.7 MB, free: 1.289 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1223, allocations: 0 / 331.7 MB, free: 1.289 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1223, allocations: 0 / 331.7 MB, free: 1.289 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.0008547/0.1232, allocations: 490.8 kB / 332.2 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1232, allocations: 8.031 kB / 332.2 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.1233, allocations: 23.72 kB / 332.2 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1236, allocations: 230.6 kB / 332.5 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.1236, allocations: 16.23 kB / 332.5 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1236, allocations: 12 kB / 332.5 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.124, allocations: 202.9 kB / 332.7 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.124, allocations: 0 / 332.7 MB, free: 228 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.124, allocations: 4 kB / 332.7 MB, free: 224 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.1241, allocations: 8 kB / 332.7 MB, free: 216 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.1243, allocations: 151.8 kB / 332.8 MB, free: 64 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.1255, allocations: 0.7937 MB / 333.6 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.1258, allocations: 165.1 kB / 333.8 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.126, allocations: 73.81 kB / 333.9 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.126, allocations: 12.03 kB / 333.9 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.1263, allocations: 160.2 kB / 334 MB, free: 14.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.1263, allocations: 0 / 334 MB, free: 14.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.000567/0.1269, allocations: 269.5 kB / 334.3 MB, free: 14.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.1269, allocations: 81.06 kB / 334.4 MB, free: 14.4 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.1271, allocations: 203 kB / 334.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1272, allocations: 25.7 kB / 334.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.894e-05/0.1273, allocations: 144.1 kB / 334.7 MB, free: 14.01 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.1273, allocations: 51.38 kB / 334.8 MB, free: 13.96 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.1273, allocations: 8 kB / 334.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1275, allocations: 330.8 kB / 335.1 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1276, allocations: 71.95 kB / 335.2 MB, free: 13.55 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1278, allocations: 126.8 kB / 335.3 MB, free: 13.4 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.128, allocations: 87.95 kB / 335.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.128, allocations: 4 kB / 335.4 MB, free: 13.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003912/0.1284, allocations: 241.1 kB / 335.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1284, allocations: 10.66 kB / 335.7 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.1284, allocations: 0 / 335.7 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1285, allocations: 12.17 kB / 335.7 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.1286, allocations: 35.92 kB / 335.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1286, allocations: 0 / 335.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.1288, allocations: 43.77 kB / 335.7 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1288, allocations: 8.703 kB / 335.8 MB, free: 12.96 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,$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.0001331/0.129, allocations: 145.7 kB / 335.9 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.129, allocations: 19.8 kB / 335.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.1294, allocations: 223 kB / 336.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.1295, allocations: 4 kB / 336.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1295, allocations: 0 / 336.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1295, allocations: 4 kB / 336.1 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.1298, allocations: 269.4 kB / 336.4 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1298, allocations: 4 kB / 336.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.1299, allocations: 27.91 kB / 336.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1299, allocations: 0 / 336.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1299, allocations: 4 kB / 336.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1299, allocations: 0 / 336.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1299, allocations: 0 / 336.4 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.1303, allocations: 241.5 kB / 336.7 MB, free: 11.95 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.1304, allocations: 96.86 kB / 336.8 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.1304, allocations: 96 / 336.8 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.1306, allocations: 35.91 kB / 336.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.1306, allocations: 15.97 kB / 336.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1306, allocations: 12 kB / 336.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1308, allocations: 140.4 kB / 337 MB, free: 11.64 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1308, allocations: 0 / 337 MB, free: 11.64 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.131, allocations: 39.84 kB / 337 MB, free: 11.6 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 (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.0001518/0.1312, allocations: 107.2 kB / 337.1 MB, free: 11.49 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.1316, allocations: 187.8 kB / 337.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1316, allocations: 0 / 337.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.1318, allocations: 84.28 kB / 337.4 MB, free: 11.22 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1321, allocations: 51.88 kB / 337.4 MB, free: 11.17 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007016/0.1328, allocations: 447.9 kB / 337.9 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.1332, allocations: 0.7398 MB / 338.6 MB, free: 9.934 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.1333, allocations: 23.38 kB / 338.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1333, allocations: 0 / 338.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of Templates: time 0.004408/0.1377, allocations: 2.389 MB / 341 MB, free: 7.523 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++ 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_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