Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.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.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 91.28 kB / 17.58 MB, free: 5.797 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.001252/0.001252, allocations: 180.4 kB / 18.48 MB, free: 5.254 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.546/1.546, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004901/0.0004902, allocations: 8 kB / 281.4 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1131, allocations: 47.59 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.002598/0.1157, allocations: 1.486 MB / 330.5 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1171, allocations: 0.6206 MB / 331.1 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.1173, allocations: 7.938 kB / 331.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.1175, allocations: 23.8 kB / 331.1 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.1176, allocations: 23.78 kB / 331.1 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.1179, allocations: 59.94 kB / 331.2 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.1182, allocations: 159.5 kB / 331.3 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.1184, allocations: 50.42 kB / 331.4 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1186, allocations: 59.7 kB / 331.5 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1187, allocations: 67.62 kB / 331.5 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.1188, allocations: 11.94 kB / 331.5 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.1189, allocations: 15.98 kB / 331.6 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.119, allocations: 31.84 kB / 331.6 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.841e-05/0.119, allocations: 53.62 kB / 331.6 MB, free: 1.391 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1192, allocations: 112 kB / 331.7 MB, free: 1.281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1192, allocations: 4 kB / 331.7 MB, free: 1.277 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1193, allocations: 0 / 331.7 MB, free: 1.277 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1193, allocations: 4 kB / 331.8 MB, free: 1.273 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008564/0.1201, allocations: 498.5 kB / 332.2 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1202, allocations: 8.031 kB / 332.2 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.1202, allocations: 23.75 kB / 332.3 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.1205, allocations: 234.6 kB / 332.5 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.1206, allocations: 19.95 kB / 332.5 MB, free: 428 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1206, allocations: 15.98 kB / 332.5 MB, free: 412 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.121, allocations: 217.1 kB / 332.7 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.121, allocations: 0 / 332.7 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.121, allocations: 4 kB / 332.7 MB, free: 172 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.1211, allocations: 8 kB / 332.8 MB, free: 164 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.1214, allocations: 143.8 kB / 332.9 MB, free: 20 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.1225, allocations: 0.801 MB / 333.7 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.1231, allocations: 214.6 kB / 333.9 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.1233, allocations: 64.81 kB / 334 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.1233, allocations: 4 kB / 334 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.1236, allocations: 149 kB / 334.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1236, allocations: 0 / 334.1 MB, free: 14.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005729/0.1242, allocations: 249.3 kB / 334.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.1242, allocations: 89.11 kB / 334.5 MB, free: 14.35 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.1244, allocations: 222.5 kB / 334.7 MB, free: 14.12 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1245, allocations: 33.7 kB / 334.7 MB, free: 14.08 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1246, allocations: 144.2 kB / 334.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.1246, allocations: 27.66 kB / 334.9 MB, free: 13.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.1246, allocations: 4.375 kB / 334.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1248, allocations: 334.8 kB / 335.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.125, allocations: 75.95 kB / 335.3 MB, free: 13.49 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.1252, allocations: 144.4 kB / 335.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.1254, allocations: 79.91 kB / 335.5 MB, free: 13.24 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1254, allocations: 4 kB / 335.5 MB, free: 13.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004342/0.1258, allocations: 257.3 kB / 335.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1258, allocations: 10.66 kB / 335.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1259, allocations: 64 / 335.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1259, allocations: 8 kB / 335.8 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.1261, allocations: 52.16 kB / 335.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.1261, allocations: 7.938 kB / 335.8 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.1262, allocations: 31.83 kB / 335.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1263, allocations: 8 kB / 335.9 MB, free: 12.87 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (sum.u[1],product.u[1],product.u[2],product.y,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,multiSwitch1.expr[1],multiSwitch1.expr[2],triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001849/0.1265, allocations: 148 kB / 336 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.1265, allocations: 27.8 kB / 336 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002779/0.1268, allocations: 127 kB / 336.2 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1268, allocations: 4 kB / 336.2 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1268, allocations: 3.938 kB / 336.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.1268, allocations: 7.922 kB / 336.2 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.1275, allocations: 486.2 kB / 336.7 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1275, allocations: 4 kB / 336.7 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1276, allocations: 19.98 kB / 336.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1276, allocations: 0 / 336.7 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.1276, allocations: 7.984 kB / 336.7 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1276, allocations: 0 / 336.7 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1276, allocations: 0 / 336.7 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.1281, allocations: 296 kB / 337 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.088e-05/0.1281, allocations: 96.77 kB / 337.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.1282, allocations: 8 kB / 337.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.1283, allocations: 23.97 kB / 337.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.1284, allocations: 24.16 kB / 337.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1285, allocations: 8 kB / 337.1 MB, free: 11.49 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1286, allocations: 152.3 kB / 337.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1286, allocations: 0 / 337.3 MB, free: 11.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.1289, allocations: 39.95 kB / 337.3 MB, free: 11.3 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: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulseStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulseStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001721/0.1291, allocations: 107.2 kB / 337.4 MB, free: 11.19 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003923/0.1295, allocations: 179.7 kB / 337.6 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1295, allocations: 0 / 337.6 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.1297, allocations: 84.39 kB / 337.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.1301, allocations: 31.94 kB / 337.7 MB, free: 10.9 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.1308, allocations: 433.5 kB / 338.1 MB, free: 10.44 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.1311, allocations: 0.7325 MB / 338.9 MB, free: 9.684 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.905e-05/0.1311, allocations: 27.42 kB / 338.9 MB, free: 9.656 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1312, allocations: 0 / 338.9 MB, free: 9.656 MB / 286.1 MB Notification: Performance of Templates: time 0.004472/0.1356, allocations: 2.404 MB / 341.3 MB, free: 7.25 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.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.IntegerNetwork1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1CalcHelperMain.o] Error 1