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.001318/0.001318, allocations: 91.05 kB / 17.95 MB, free: 5.625 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.001899/0.001899, allocations: 180.6 kB / 18.86 MB, free: 4.77 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.997/1.997, allocations: 205.4 MB / 225 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.0007035/0.0007034, allocations: 19.98 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1404, allocations: 47.59 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.002656/0.1431, allocations: 1.521 MB / 331.1 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1449, allocations: 0.6399 MB / 331.8 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.1452, allocations: 0 / 331.8 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.1454, allocations: 23.78 kB / 331.8 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002519/0.1457, allocations: 23.8 kB / 331.8 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.1462, allocations: 75.86 kB / 331.9 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.1465, allocations: 171.4 kB / 332.1 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.1467, allocations: 66.62 kB / 332.1 MB, free: 1.223 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.1469, allocations: 59.72 kB / 332.2 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.1472, allocations: 71.61 kB / 332.2 MB, free: 1.094 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.1472, allocations: 11.94 kB / 332.3 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.662e-05/0.1473, allocations: 8 kB / 332.3 MB, free: 1.074 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1475, allocations: 31.84 kB / 332.3 MB, free: 1.043 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.1476, allocations: 101.2 kB / 332.4 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1479, allocations: 116 kB / 332.5 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1479, allocations: 0 / 332.5 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1479, allocations: 0 / 332.5 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.1479, allocations: 0 / 332.5 MB, free: 0.8242 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.001193/0.1491, allocations: 498.7 kB / 333 MB, free: 296 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.1492, allocations: 12.03 kB / 333 MB, free: 284 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/0.1493, allocations: 20.75 kB / 333 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.1497, allocations: 243.8 kB / 333.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.1497, allocations: 20.36 kB / 333.3 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.1498, allocations: 12.38 kB / 333.3 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.1502, allocations: 221.3 kB / 333.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1503, allocations: 0 / 333.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.1503, allocations: 15.98 kB / 333.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.1503, allocations: 4 kB / 333.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003501/0.1507, allocations: 143.8 kB / 333.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.1521, allocations: 0.8049 MB / 334.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.1529, allocations: 214.6 kB / 334.7 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.1531, allocations: 64.81 kB / 334.8 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.129e-05/0.1532, allocations: 8 kB / 334.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003794/0.1536, allocations: 149 kB / 334.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 2.365e-06/0.1536, allocations: 3.938 kB / 334.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007363/0.1543, allocations: 253.2 kB / 335.2 MB, free: 13.97 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.614e-05/0.1544, allocations: 85.11 kB / 335.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.1547, allocations: 219 kB / 335.5 MB, free: 13.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.1548, allocations: 29.7 kB / 335.5 MB, free: 13.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.1549, allocations: 148.2 kB / 335.6 MB, free: 13.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.155, allocations: 31.55 kB / 335.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-05/0.1551, allocations: 49.62 kB / 335.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.1552, allocations: 334.7 kB / 336 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.1554, allocations: 67.95 kB / 336.1 MB, free: 12.97 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.1557, allocations: 140.5 kB / 336.2 MB, free: 12.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.1561, allocations: 224.3 kB / 336.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.1561, allocations: 4 kB / 336.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004952/0.1566, allocations: 249.4 kB / 336.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1566, allocations: 8.031 kB / 336.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.1567, allocations: 4 kB / 336.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.1567, allocations: 4 kB / 336.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.1569, allocations: 35.98 kB / 336.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.1569, allocations: 11.92 kB / 336.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.1571, allocations: 35.83 kB / 336.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.1571, allocations: 11.94 kB / 336.8 MB, free: 12.19 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 (product.y,product.u[2],product.u[1],sum.u[1],triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition3,$whenCondition2,multiSwitch1.expr[2],multiSwitch1.expr[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch1.firstActiveIndex,multiSwitch1.y,$PRE.multiSwitch1.y,multiSwitch1.u[2],multiSwitch1.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.1573, allocations: 148 kB / 337 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.1574, allocations: 19.72 kB / 337 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.1576, allocations: 139.2 kB / 337.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1577, allocations: 0 / 337.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.1577, allocations: 0 / 337.1 MB, free: 11.87 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.1577, allocations: 8 kB / 337.1 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.1584, allocations: 490.2 kB / 337.6 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1584, allocations: 0 / 337.6 MB, free: 11.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.1585, allocations: 19.98 kB / 337.6 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1585, allocations: 0 / 337.6 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1585, allocations: 0 / 337.6 MB, free: 11.31 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.1585, allocations: 7.938 kB / 337.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1586, allocations: 0 / 337.6 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.159, allocations: 300.2 kB / 337.9 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-05/0.1591, allocations: 96.86 kB / 338 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.1592, allocations: 7.938 kB / 338 MB, free: 10.87 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.1594, allocations: 31.91 kB / 338.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.1595, allocations: 23.95 kB / 338.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1595, allocations: 8 kB / 338.1 MB, free: 10.8 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1597, allocations: 140.6 kB / 338.2 MB, free: 10.67 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1597, allocations: 0 / 338.2 MB, free: 10.67 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.1601, allocations: 43.91 kB / 338.3 MB, free: 10.62 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 (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.0002241/0.1603, allocations: 119.1 kB / 338.4 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004411/0.1607, allocations: 172.3 kB / 338.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1608, allocations: 0 / 338.5 MB, free: 10.33 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.161, allocations: 83.89 kB / 338.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1613, allocations: 27.94 kB / 338.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008177/0.1622, allocations: 457.3 kB / 339.1 MB, free: 9.742 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.1626, allocations: 0.7323 MB / 339.8 MB, free: 8.984 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.1627, allocations: 19.44 kB / 339.9 MB, free: 8.965 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.1627, allocations: 0 / 339.9 MB, free: 8.965 MB / 286.1 MB Notification: Performance of Templates: time 0.005644/0.1683, allocations: 2.407 MB / 342.3 MB, free: 6.559 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++ -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.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