Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Interaction1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Interaction1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008464/0.0008467, allocations: 95.47 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009069/0.0009069, allocations: 197.9 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.537/1.537, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002563, allocations: 4 kB / 307.3 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1154, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Interaction1): time 0.002879/0.1183, allocations: 2.146 MB / 360.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.1214, allocations: 1.876 MB / 362.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.1217, allocations: 7.938 kB / 362.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.1227, allocations: 0.4907 MB / 363.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007278/0.1235, allocations: 398.7 kB / 363.7 MB, free: 9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.1249, allocations: 0.564 MB / 364.2 MB, free: 8.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000847/0.1257, allocations: 0.7206 MB / 365 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.1259, allocations: 93.56 kB / 365.1 MB, free: 7.633 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003209/0.1263, allocations: 282.8 kB / 365.3 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/0.1266, allocations: 318.8 kB / 365.6 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.1267, allocations: 12 kB / 365.7 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.127, allocations: 175.8 kB / 365.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.1272, allocations: 179.4 kB / 366 MB, free: 6.684 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.1274, allocations: 145.3 kB / 366.1 MB, free: 6.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.1281, allocations: 0.6433 MB / 366.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1281, allocations: 0 / 366.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1281, allocations: 0 / 366.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1281, allocations: 4 kB / 366.8 MB, free: 5.887 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.001744/0.1298, allocations: 1.109 MB / 367.9 MB, free: 4.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1299, allocations: 8.031 kB / 367.9 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.13, allocations: 82.97 kB / 368 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008278/0.1309, allocations: 0.5541 MB / 368.5 MB, free: 3.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.1309, allocations: 31.92 kB / 368.6 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.131, allocations: 23.95 kB / 368.6 MB, free: 3.938 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.1316, allocations: 350.8 kB / 368.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1316, allocations: 0 / 368.9 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.1316, allocations: 11.98 kB / 369 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.1317, allocations: 8 kB / 369 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.1321, allocations: 179.8 kB / 369.1 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.1337, allocations: 1.356 MB / 370.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.1344, allocations: 346.8 kB / 370.8 MB, free: 1.547 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.1347, allocations: 175.5 kB / 371 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.1347, allocations: 11.94 kB / 371 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008013/0.1355, allocations: 459.2 kB / 371.5 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.774e-06/0.1356, allocations: 0 / 371.5 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.00138/0.1369, allocations: 0.7386 MB / 372.2 MB, free: 92 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2483/0.3852, allocations: 457.7 kB / 372.7 MB, free: 19.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00213/0.3874, allocations: 0.9716 MB / 373.6 MB, free: 19.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.3876, allocations: 43.36 kB / 373.7 MB, free: 19.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.3879, allocations: 313.1 kB / 374 MB, free: 19.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.3881, allocations: 103.2 kB / 374.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.3881, allocations: 10.12 kB / 374.1 MB, free: 19.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3882, allocations: 327.4 kB / 374.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.3887, allocations: 150.6 kB / 374.6 MB, free: 18.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007987/0.3895, allocations: 354.8 kB / 374.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006319/0.3902, allocations: 259.1 kB / 375.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3902, allocations: 0.9688 kB / 375.2 MB, free: 18.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001843/0.3921, allocations: 0.6762 MB / 375.8 MB, free: 18.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.3922, allocations: 97.03 kB / 375.9 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.3922, allocations: 5.062 kB / 375.9 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/0.3923, allocations: 7.094 kB / 375.9 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.3927, allocations: 68.5 kB / 376 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.52e-05/0.3927, allocations: 8.328 kB / 376 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.3933, allocations: 55.98 kB / 376.1 MB, free: 18.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.3933, allocations: 26.8 kB / 376.1 MB, free: 18.2 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.0008453/0.3942, allocations: 400.9 kB / 376.5 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.3944, allocations: 81.86 kB / 376.6 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.3946, allocations: 83.72 kB / 376.6 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3946, allocations: 7.125 kB / 376.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.3947, allocations: 3.094 kB / 376.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.3947, allocations: 3.156 kB / 376.7 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.3966, allocations: 0.9719 MB / 377.6 MB, free: 17.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3966, allocations: 1.375 kB / 377.6 MB, free: 17.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.3967, allocations: 32.77 kB / 377.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.3967, allocations: 1.375 kB / 377.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.3968, allocations: 16.77 kB / 377.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.3968, allocations: 3.594 kB / 377.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.3968, allocations: 4 kB / 377.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.3984, allocations: 0.7759 MB / 378.5 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.3986, allocations: 170.8 kB / 378.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.3988, allocations: 28.78 kB / 378.7 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.3991, allocations: 27.36 kB / 378.7 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.3993, allocations: 35.59 kB / 378.7 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.169e-05/0.3994, allocations: 23.41 kB / 378.7 MB, free: 16.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001524/0.4009, allocations: 0.6967 MB / 379.4 MB, free: 16.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4009, allocations: 0 / 379.4 MB, free: 16.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001106/0.4021, allocations: 161.4 kB / 379.6 MB, free: 16.4 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.00165/0.4037, allocations: 0.4933 MB / 380.1 MB, free: 16.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.4052, allocations: 0.6087 MB / 380.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.4052, allocations: 4.062 kB / 380.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008585/0.4061, allocations: 428.2 kB / 381.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.4075, allocations: 161.3 kB / 381.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.4112, allocations: 1.374 MB / 382.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/0.4121, allocations: 0.9398 MB / 383.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.4123, allocations: 62.22 kB / 383.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of SimCode: time 1.814e-06/0.4124, allocations: 0 / 383.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of Templates: time 0.03101/0.4434, allocations: 9.942 MB / 393.6 MB, free: 10.34 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Interaction1.makefile make -j1 -f Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Interaction1CalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.Interaction1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.Interaction1CalcHelperMain.o] Error 1