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.001649/0.001649, allocations: 103.8 kB / 16.52 MB, free: 6.672 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.001822/0.001822, allocations: 199.4 kB / 17.44 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.45/2.45, allocations: 205.1 MB / 223.3 MB, free: 12.42 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.3561/0.3561, allocations: 43.52 MB / 314.1 MB, free: 0.7539 MB / 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.001685/0.001685, allocations: 75.17 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2102, allocations: 57.79 MB / 440.5 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.003708/0.214, allocations: 1.592 MB / 442.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.215, allocations: 0.5235 MB / 442.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/0.2151, allocations: 0 / 442.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.013e-05/0.2152, allocations: 7.922 kB / 442.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.2153, allocations: 7.938 kB / 442.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.2156, allocations: 43.89 kB / 442.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.2158, allocations: 71.78 kB / 442.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.216, allocations: 15.98 kB / 442.7 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.2162, allocations: 39.84 kB / 442.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2163, allocations: 35.84 kB / 442.8 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.2163, allocations: 4 kB / 442.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.299e-05/0.2164, allocations: 4 kB / 442.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.2164, allocations: 23.89 kB / 442.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.299e-05/0.2165, allocations: 31.86 kB / 442.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.2166, allocations: 52.14 kB / 442.9 MB, free: 5.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2167, allocations: 3.938 kB / 442.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2167, allocations: 0 / 442.9 MB, free: 5.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2167, allocations: 0 / 442.9 MB, free: 5.066 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.0009811/0.2177, allocations: 403.2 kB / 443.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.2177, allocations: 8.031 kB / 443.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.2178, allocations: 12.84 kB / 443.3 MB, free: 4.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.218, allocations: 180.2 kB / 443.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.218, allocations: 384 / 443.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.2181, allocations: 12.38 kB / 443.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.2183, allocations: 89.89 kB / 443.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.2183, allocations: 0 / 443.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.2184, allocations: 8 kB / 443.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.2184, allocations: 0 / 443.6 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2185, allocations: 47.91 kB / 443.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.2193, allocations: 328.8 kB / 444 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.2195, allocations: 86.55 kB / 444.1 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.158e-05/0.2196, allocations: 40.84 kB / 444.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.2196, allocations: 0 / 444.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.2199, allocations: 99.3 kB / 444.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.2199, allocations: 0 / 444.2 MB, free: 3.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.000531/0.2205, allocations: 193.3 kB / 444.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.2206, allocations: 59.41 kB / 444.4 MB, free: 3.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2207, allocations: 121.7 kB / 444.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.2208, allocations: 33.7 kB / 444.6 MB, free: 3.184 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.2208, allocations: 88.36 kB / 444.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.2209, allocations: 35.61 kB / 444.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.221, allocations: 37.7 kB / 444.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.2211, allocations: 327 kB / 445.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.2212, allocations: 31.98 kB / 445.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.2214, allocations: 89 kB / 445.2 MB, free: 2.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.2216, allocations: 121.1 kB / 445.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.2216, allocations: 0 / 445.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002742/0.2219, allocations: 157.4 kB / 445.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.2219, allocations: 4.156 kB / 445.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.2219, allocations: 8 kB / 445.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.222, allocations: 0 / 445.5 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.2221, allocations: 27.86 kB / 445.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.775e-05/0.2221, allocations: 4 kB / 445.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.2222, allocations: 15.84 kB / 445.5 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.2222, allocations: 7.938 kB / 445.5 MB, free: 2.188 MB / 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.0001514/0.2224, allocations: 136 kB / 445.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.2224, allocations: 8.281 kB / 445.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.2225, allocations: 24.48 kB / 445.7 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2225, allocations: 3.938 kB / 445.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.2225, allocations: 0 / 445.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2225, allocations: 3.938 kB / 445.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000622/0.2231, allocations: 434.4 kB / 446.1 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2231, allocations: 3.938 kB / 446.1 MB, free: 1.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.2232, allocations: 11.98 kB / 446.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2232, allocations: 0 / 446.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.2232, allocations: 8 kB / 446.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2232, allocations: 0 / 446.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2232, allocations: 0 / 446.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.2236, allocations: 251.4 kB / 446.4 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.2237, allocations: 88.95 kB / 446.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.2237, allocations: 7.984 kB / 446.5 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.2238, allocations: 4 kB / 446.5 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.2239, allocations: 19.92 kB / 446.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.2239, allocations: 4 kB / 446.5 MB, free: 1.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.416e-05/0.224, allocations: 91.27 kB / 446.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.224, allocations: 0 / 446.6 MB, free: 1.008 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.2243, allocations: 24 kB / 446.6 MB, free: 0.9844 MB / 318.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.0001858/0.2244, allocations: 107.2 kB / 446.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.2248, allocations: 100.1 kB / 446.8 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2248, allocations: 4.062 kB / 446.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.2249, allocations: 55.91 kB / 446.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.2253, allocations: 15.92 kB / 446.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.226, allocations: 246.8 kB / 447.1 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007279/0.2267, allocations: 0.6926 MB / 447.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.2268, allocations: 27.36 kB / 447.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2268, allocations: 0 / 447.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Templates: time 0.00484/0.2317, allocations: 1.2 MB / 449.1 MB, free: 14.48 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