Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_ModelicaTest.Blocks.FirstOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 97.55 kB / 16.67 MB, free: 6.105 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.001367/0.001367, allocations: 183.1 kB / 17.58 MB, free: 5.82 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.921/1.921, allocations: 205.4 MB / 223.8 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2479/0.2479, allocations: 43.59 MB / 315.6 MB, free: 412 kB / 254.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.0005843/0.0005843, allocations: 14.39 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1552, allocations: 58.86 MB / 444.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.001571/0.1568, allocations: 1.249 MB / 445.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007772/0.1576, allocations: 0.5083 MB / 445.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.1577, allocations: 4 kB / 445.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.1577, allocations: 3.938 kB / 445.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.1578, allocations: 11.92 kB / 445.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1581, allocations: 35.91 kB / 445.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1582, allocations: 79.77 kB / 446 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1583, allocations: 11.94 kB / 446 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1585, allocations: 39.83 kB / 446 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.167e-05/0.1586, allocations: 35.84 kB / 446.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1586, allocations: 4 kB / 446.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.1586, allocations: 4 kB / 446.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.1586, allocations: 23.91 kB / 446.1 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.1587, allocations: 57.56 kB / 446.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.663e-05/0.1588, allocations: 51.83 kB / 446.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1588, allocations: 0 / 446.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1588, allocations: 0 / 446.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1588, allocations: 0 / 446.2 MB, free: 3.031 MB / 318.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.0006026/0.1594, allocations: 391.3 kB / 446.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1595, allocations: 8.031 kB / 446.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1595, allocations: 8.844 kB / 446.6 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.1597, allocations: 176.2 kB / 446.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.1597, allocations: 8.359 kB / 446.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1597, allocations: 12.38 kB / 446.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1599, allocations: 89.95 kB / 446.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1599, allocations: 4 kB / 446.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.16, allocations: 0 / 446.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.16, allocations: 0 / 446.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.1601, allocations: 51.91 kB / 446.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.1606, allocations: 340.6 kB / 447.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1608, allocations: 90.52 kB / 447.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.088e-05/0.1609, allocations: 44.84 kB / 447.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.1609, allocations: 7.938 kB / 447.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.1611, allocations: 107 kB / 447.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.1611, allocations: 0 / 447.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004073/0.1616, allocations: 193.7 kB / 447.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1616, allocations: 59.41 kB / 447.8 MB, free: 1.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.1617, allocations: 109.8 kB / 447.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1617, allocations: 37.69 kB / 447.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.1618, allocations: 92.42 kB / 448 MB, free: 1.039 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.1618, allocations: 31.61 kB / 448 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.1618, allocations: 21.94 kB / 448 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.1619, allocations: 326.8 kB / 448.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.432e-05/0.162, allocations: 43.84 kB / 448.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.814e-05/0.1621, allocations: 81.14 kB / 448.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.1623, allocations: 133 kB / 448.6 MB, free: 372 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1623, allocations: 0 / 448.6 MB, free: 372 kB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002528/0.1625, allocations: 161.3 kB / 448.8 MB, free: 204 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1626, allocations: 6.031 kB / 448.8 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1626, allocations: 4 kB / 448.8 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1626, allocations: 0 / 448.8 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1627, allocations: 28.08 kB / 448.8 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1627, allocations: 7.938 kB / 448.8 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.1628, allocations: 15.88 kB / 448.8 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.1628, allocations: 8 kB / 448.8 MB, free: 136 kB / 318.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 (firstOrderHold.firstTrigger,$PRE.firstOrderHold.firstTrigger,zeroOrderHold.firstTrigger,$PRE.zeroOrderHold.firstTrigger,$PRE.zeroOrderHold.ySample,zeroOrderHold.sampleTrigger,$whenCondition1,firstOrderHold.sampleTrigger,$whenCondition2,firstOrderHold.c,$PRE.firstOrderHold.c,firstOrderHold.pre_uSample,$PRE.firstOrderHold.pre_uSample,firstOrderHold.uSample,$PRE.firstOrderHold.uSample,firstOrderHold.tSample,$PRE.firstOrderHold.tSample,zeroOrderHold.ySample) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.1629, allocations: 136 kB / 449 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.163, allocations: 7.906 kB / 449 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.163, allocations: 8.438 kB / 449 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.163, allocations: 4 kB / 449 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.163, allocations: 7.938 kB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.163, allocations: 0 / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.1636, allocations: 442.3 kB / 449.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.1636, allocations: 3.984 kB / 449.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.1637, allocations: 11.94 kB / 449.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1637, allocations: 384 / 449.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1637, allocations: 4 kB / 449.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.1637, allocations: 7.984 kB / 449.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1637, allocations: 3.984 kB / 449.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1641, allocations: 255.4 kB / 449.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.1642, allocations: 92.94 kB / 449.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1642, allocations: 4 kB / 449.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.1643, allocations: 15.98 kB / 449.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1644, allocations: 11.92 kB / 449.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1644, allocations: 8 kB / 449.8 MB, free: 15.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.184e-05/0.1645, allocations: 91.27 kB / 449.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1645, allocations: 0 / 449.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1647, allocations: 24 kB / 450 MB, free: 14.91 MB / 334.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 (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.000142/0.1649, allocations: 103.2 kB / 450.1 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.1652, allocations: 111.9 kB / 450.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1652, allocations: 3.938 kB / 450.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.1653, allocations: 58.83 kB / 450.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.1656, allocations: 15.94 kB / 450.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.1661, allocations: 263.3 kB / 450.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1665, allocations: 0.6965 MB / 451.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.1665, allocations: 11.44 kB / 451.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1665, allocations: 0 / 451.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Templates: time 0.00301/0.1695, allocations: 1.195 MB / 452.4 MB, free: 12.4 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHold.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 OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHoldCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.FirstOrderHoldCalcHelperMain.o] Error 1