Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1.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.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1") translateModel(Modelica.Blocks.Examples.Interaction1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable.y|integerTable.y|start.on|start.reset.1.|stop.on|stop.reset.1.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.001251, allocations: 97.66 kB / 16.95 MB, free: 6.398 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.001583/0.001583, allocations: 175.4 kB / 17.84 MB, free: 5.969 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.47/1.47, allocations: 223.2 MB / 241.8 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.000376, allocations: 8 kB / 301.4 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.136, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.003546/0.1396, allocations: 2.108 MB / 354 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00369/0.1433, allocations: 1.696 MB / 355.7 MB, free: 192 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003678/0.1437, allocations: 7.938 kB / 355.7 MB, free: 184 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.1451, allocations: 486.8 kB / 356.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009065/0.146, allocations: 362 kB / 356.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.148, allocations: 0.5593 MB / 357.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1491, allocations: 0.6933 MB / 357.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002422/0.1493, allocations: 85.59 kB / 357.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.1498, allocations: 274.8 kB / 358.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.1502, allocations: 318.8 kB / 358.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.947e-05/0.1503, allocations: 16 kB / 358.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.1508, allocations: 159.8 kB / 358.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.151, allocations: 183.4 kB / 358.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.1512, allocations: 133.3 kB / 358.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007987/0.152, allocations: 0.6277 MB / 359.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.152, allocations: 0 / 359.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.152, allocations: 0 / 359.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.152, allocations: 0 / 359.5 MB, free: 12.32 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001846/0.1539, allocations: 1.086 MB / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.154, allocations: 8.031 kB / 360.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.1541, allocations: 79.02 kB / 360.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.1552, allocations: 0.5501 MB / 361.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.1552, allocations: 23.94 kB / 361.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.1553, allocations: 20 kB / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/0.156, allocations: 354.7 kB / 361.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1561, allocations: 0 / 361.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/0.1561, allocations: 19.98 kB / 361.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.648e-05/0.1562, allocations: 11.95 kB / 361.7 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.1567, allocations: 175.7 kB / 361.8 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.1586, allocations: 1.345 MB / 363.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008805/0.1595, allocations: 354.8 kB / 363.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004029/0.1599, allocations: 171.4 kB / 363.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.1599, allocations: 11.94 kB / 363.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007612/0.1607, allocations: 451.2 kB / 364.1 MB, free: 7.336 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 2.254e-06/0.1607, allocations: 4 kB / 364.2 MB, free: 7.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.001759/0.1625, allocations: 0.7382 MB / 364.9 MB, free: 6.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002552/0.1627, allocations: 464.8 kB / 365.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.1643, allocations: 0.9301 MB / 366.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.1644, allocations: 45.69 kB / 366.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003375/0.1647, allocations: 304.7 kB / 366.6 MB, free: 4.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.1648, allocations: 106.7 kB / 366.7 MB, free: 4.617 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.1649, allocations: 12 kB / 366.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.165, allocations: 326 kB / 367.1 MB, free: 4.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.1654, allocations: 148.9 kB / 367.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.166, allocations: 350.4 kB / 367.5 MB, free: 3.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.1665, allocations: 261 kB / 367.8 MB, free: 3.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1665, allocations: 4 kB / 367.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001404/0.168, allocations: 0.6612 MB / 368.5 MB, free: 2.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.1681, allocations: 101.1 kB / 368.6 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.1681, allocations: 4.625 kB / 368.6 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.1681, allocations: 4 kB / 368.6 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.1685, allocations: 72.12 kB / 368.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.1685, allocations: 7.953 kB / 368.6 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.1689, allocations: 51.67 kB / 368.7 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.169, allocations: 28 kB / 368.7 MB, free: 2.477 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 51 ($PRE.start.pre_reset[1],$PRE.stop.pre_reset[1],$whenCondition9,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition8,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.start.table.combiTimeTable.nextTimeEvent,start.reset[1],$PRE.stop.on,stop.on,$PRE.start.on,start.on,stop.reset[1],$whenCondition4,$whenCondition5,$PRE.stop.reset[1],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition6,$whenCondition7,$PRE.start.reset[1],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],$whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled,booleanValue.active,integerValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 3 * 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.0006338/0.1697, allocations: 394.9 kB / 369.1 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.1698, allocations: 79.34 kB / 369.2 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.17, allocations: 82.2 kB / 369.3 MB, free: 1.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.17, allocations: 4 kB / 369.3 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.17, allocations: 3.938 kB / 369.3 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.17, allocations: 3.953 kB / 369.3 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.1716, allocations: 0.9581 MB / 370.2 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1716, allocations: 7.938 kB / 370.2 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.1718, allocations: 23.98 kB / 370.3 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1718, allocations: 0 / 370.3 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.918e-05/0.1718, allocations: 19.98 kB / 370.3 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1719, allocations: 0 / 370.3 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.1719, allocations: 7.891 kB / 370.3 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2382/0.4101, allocations: 0.7792 MB / 371.1 MB, free: 24.65 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/0.4105, allocations: 163.4 kB / 371.2 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.4107, allocations: 24.47 kB / 371.3 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.4111, allocations: 26.62 kB / 371.3 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.4112, allocations: 36.06 kB / 371.3 MB, free: 24.56 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.419e-05/0.4113, allocations: 25.5 kB / 371.3 MB, free: 24.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001184/0.4125, allocations: 0.6664 MB / 372 MB, free: 24.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.4125, allocations: 0.875 kB / 372 MB, free: 24.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000775/0.4132, allocations: 152.6 kB / 372.2 MB, free: 24.46 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,start.reset[1],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],stop.reset[1],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],$whenCondition8,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,$whenCondition9,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 26 (integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition5,stop.on,$whenCondition4,stop.pre_reset[1],stop.reset[1],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition7,start.on,$whenCondition6,start.pre_reset[1],start.reset[1],start.table.y,timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 8 * 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.001272/0.4145, allocations: 0.4893 MB / 372.6 MB, free: 24.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.4156, allocations: 0.6103 MB / 373.3 MB, free: 24.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4156, allocations: 1.281 kB / 373.3 MB, free: 24.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004795/0.4161, allocations: 422.1 kB / 373.7 MB, free: 23.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008349/0.417, allocations: 156.5 kB / 373.8 MB, free: 23.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.4192, allocations: 1.338 MB / 375.2 MB, free: 23.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.4197, allocations: 0.9293 MB / 376.1 MB, free: 22.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.4199, allocations: 56.42 kB / 376.1 MB, free: 22.67 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4199, allocations: 0 / 376.1 MB, free: 22.67 MB / 302.1 MB Notification: Performance of Templates: time 0.01897/0.4389, allocations: 9.677 MB / 385.8 MB, free: 19.73 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Interaction1.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.Interaction1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.Interaction1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.Interaction1CalcHelperMain.o] Error 1