Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Blocks.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold") translateModel(ModelicaTest.Blocks.FirstOrderHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 91.2 kB / 17.63 MB, free: 5.879 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.002018/0.002019, allocations: 186.7 kB / 18.52 MB, free: 5.188 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.46/1.46, allocations: 223.2 MB / 242.5 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2188/0.2188, allocations: 44.23 MB / 337.9 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004114, allocations: 8.625 kB / 410.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1532, allocations: 61.93 MB / 472.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.001833/0.1551, allocations: 1.22 MB / 473.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008255/0.156, allocations: 459.2 kB / 473.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.156, allocations: 0 / 473.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.1561, allocations: 7.984 kB / 473.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.1562, allocations: 15.86 kB / 473.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.1564, allocations: 27.95 kB / 473.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.1565, allocations: 79.66 kB / 474 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1566, allocations: 15.97 kB / 474 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1567, allocations: 27.92 kB / 474 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.696e-05/0.1568, allocations: 35.83 kB / 474.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1569, allocations: 4 kB / 474.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.1569, allocations: 8 kB / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.614e-05/0.1569, allocations: 15.92 kB / 474.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.157, allocations: 45.62 kB / 474.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.1571, allocations: 48.19 kB / 474.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1571, allocations: 0 / 474.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1571, allocations: 0 / 474.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.1571, allocations: 0 / 474.2 MB, free: 11.69 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006582/0.1578, allocations: 391.1 kB / 474.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1578, allocations: 8.031 kB / 474.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.1579, allocations: 11.91 kB / 474.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.1581, allocations: 171 kB / 474.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1581, allocations: 4 kB / 474.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1581, allocations: 19.89 kB / 474.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.1583, allocations: 97.58 kB / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1584, allocations: 0 / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1584, allocations: 0 / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1584, allocations: 0 / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.1585, allocations: 47.97 kB / 474.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.1591, allocations: 336.7 kB / 475.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.1593, allocations: 90.48 kB / 475.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.212e-05/0.1594, allocations: 44.84 kB / 475.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1594, allocations: 0 / 475.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.1597, allocations: 99.58 kB / 475.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.1597, allocations: 3.938 kB / 475.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004313/0.1601, allocations: 196.9 kB / 475.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.1602, allocations: 59.34 kB / 475.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/0.1603, allocations: 118 kB / 475.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1603, allocations: 37.7 kB / 475.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.1604, allocations: 84.42 kB / 476 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.1604, allocations: 43.53 kB / 476 MB, free: 9.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.1604, allocations: 0 / 476 MB, free: 9.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1606, allocations: 326.8 kB / 476.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.109e-05/0.1607, allocations: 36.36 kB / 476.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1608, allocations: 81.88 kB / 476.4 MB, free: 9.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.562e-05/0.1609, allocations: 43.98 kB / 476.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1609, allocations: 0 / 476.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002638/0.1612, allocations: 169.3 kB / 476.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1612, allocations: 4 kB / 476.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1612, allocations: 4 kB / 476.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1612, allocations: 0 / 476.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1614, allocations: 23.92 kB / 476.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1614, allocations: 4 kB / 476.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.1614, allocations: 12.09 kB / 476.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1615, allocations: 12 kB / 476.7 MB, free: 8.926 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.firstOrderHold.firstTrigger,firstOrderHold.firstTrigger,$PRE.zeroOrderHold.firstTrigger,zeroOrderHold.firstTrigger,$PRE.zeroOrderHold.ySample,$whenCondition1,zeroOrderHold.sampleTrigger,$whenCondition2,firstOrderHold.sampleTrigger,zeroOrderHold.ySample,$PRE.firstOrderHold.tSample,firstOrderHold.tSample,$PRE.firstOrderHold.uSample,firstOrderHold.uSample,$PRE.firstOrderHold.pre_uSample,firstOrderHold.pre_uSample,$PRE.firstOrderHold.c,firstOrderHold.c) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001183/0.1616, allocations: 140.9 kB / 476.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.1616, allocations: 7.906 kB / 476.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.1616, allocations: 8.5 kB / 476.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1617, allocations: 4 kB / 476.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.1617, allocations: 3.938 kB / 476.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1617, allocations: 0 / 476.9 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.1622, allocations: 454.3 kB / 477.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1622, allocations: 0 / 477.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.118e-05/0.1623, allocations: 11.98 kB / 477.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1623, allocations: 0 / 477.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1623, allocations: 0 / 477.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1623, allocations: 4 kB / 477.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1623, allocations: 0 / 477.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.1626, allocations: 259.3 kB / 477.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.1627, allocations: 84.95 kB / 477.7 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1627, allocations: 11.98 kB / 477.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.1628, allocations: 4 kB / 477.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.1629, allocations: 11.98 kB / 477.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.1629, allocations: 15.98 kB / 477.7 MB, free: 7.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.314e-05/0.163, allocations: 91.28 kB / 477.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.163, allocations: 0 / 477.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.1632, allocations: 23.98 kB / 477.8 MB, free: 7.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (firstOrderHold.sampleTrigger,zeroOrderHold.sampleTrigger,$whenCondition2,$whenCondition1,zeroOrderHold.firstTrigger,zeroOrderHold.ySample,firstOrderHold.firstTrigger,firstOrderHold.tSample,firstOrderHold.uSample,firstOrderHold.pre_uSample,firstOrderHold.c) * Number of discrete states: 3 (zeroOrderHold.ySample,firstOrderHold.uSample,firstOrderHold.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0001107/0.1634, allocations: 103.2 kB / 477.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.1636, allocations: 116 kB / 478 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1636, allocations: 4.062 kB / 478 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1637, allocations: 47.98 kB / 478.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.164, allocations: 23.88 kB / 478.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.1645, allocations: 251.1 kB / 478.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.1648, allocations: 0.6926 MB / 479 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.1648, allocations: 15.44 kB / 479.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1648, allocations: 0 / 479.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of Templates: time 0.003074/0.1679, allocations: 1.194 MB / 480.2 MB, free: 5.211 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHold.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 OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHoldCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.FirstOrderHoldCalcHelperMain.o] Error 1