Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(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_trunk_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_trunk_ModelicaTest.Blocks.FirstOrderHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007459/0.0007458, allocations: 90.34 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.0009003/0.0009006, allocations: 198.8 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.5/1.5, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2635/0.2635, allocations: 45.92 MB / 344.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002974, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1461, allocations: 63.47 MB / 482.1 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FirstOrderHold): time 0.002073/0.1482, allocations: 1.233 MB / 483.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.1492, allocations: 0.4992 MB / 483.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.1493, allocations: 3.938 kB / 483.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.1493, allocations: 0 / 483.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.32e-05/0.1494, allocations: 11.86 kB / 483.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.1496, allocations: 31.97 kB / 483.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1498, allocations: 83.7 kB / 484 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1499, allocations: 19.95 kB / 484 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1501, allocations: 35.92 kB / 484 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.759e-05/0.1502, allocations: 43.81 kB / 484.1 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1502, allocations: 4 kB / 484.1 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.918e-05/0.1503, allocations: 4 kB / 484.1 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.1503, allocations: 15.92 kB / 484.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.1504, allocations: 41.64 kB / 484.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1505, allocations: 52.11 kB / 484.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1505, allocations: 8 kB / 484.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1505, allocations: 4 kB / 484.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1506, allocations: 0 / 484.2 MB, free: 3.301 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.0007615/0.1513, allocations: 387.1 kB / 484.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1514, allocations: 12.03 kB / 484.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.1516, allocations: 23.89 kB / 484.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.1518, allocations: 175 kB / 484.8 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.1518, allocations: 8 kB / 484.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1518, allocations: 4 kB / 484.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.1521, allocations: 97.58 kB / 484.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1521, allocations: 0 / 484.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1521, allocations: 0 / 484.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1521, allocations: 8 kB / 484.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.1523, allocations: 47.97 kB / 485 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.1529, allocations: 336.7 kB / 485.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.1532, allocations: 102.5 kB / 485.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1533, allocations: 52.77 kB / 485.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.1533, allocations: 0 / 485.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.1536, allocations: 103.4 kB / 485.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.1536, allocations: 0 / 485.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004834/0.1541, allocations: 205 kB / 485.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.1542, allocations: 67.28 kB / 485.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.1543, allocations: 118 kB / 485.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.1543, allocations: 33.7 kB / 485.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.1544, allocations: 92.41 kB / 486 MB, free: 1.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.1544, allocations: 35.77 kB / 486.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.1545, allocations: 4 kB / 486.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1546, allocations: 326.8 kB / 486.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.452e-05/0.1547, allocations: 40.34 kB / 486.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.1549, allocations: 85.02 kB / 486.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.155, allocations: 47.98 kB / 486.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.155, allocations: 4 kB / 486.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002901/0.1553, allocations: 161.3 kB / 486.7 MB, free: 0.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1553, allocations: 8 kB / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1553, allocations: 0 / 486.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1554, allocations: 4 kB / 486.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1555, allocations: 28.05 kB / 486.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1555, allocations: 4 kB / 486.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.1556, allocations: 15.89 kB / 486.8 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1556, allocations: 7.984 kB / 486.8 MB, free: 488 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.firstOrderHold.firstTrigger,firstOrderHold.firstTrigger,$PRE.zeroOrderHold.firstTrigger,zeroOrderHold.firstTrigger,$whenCondition1,zeroOrderHold.sampleTrigger,$whenCondition2,firstOrderHold.sampleTrigger,$PRE.zeroOrderHold.ySample,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.0001193/0.1557, allocations: 132 kB / 486.9 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.1557, allocations: 11.91 kB / 486.9 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.262e-05/0.1558, allocations: 8.5 kB / 486.9 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1558, allocations: 0 / 486.9 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/0.1558, allocations: 8 kB / 486.9 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.1558, allocations: 7.984 kB / 487 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005812/0.1564, allocations: 450.4 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1564, allocations: 0 / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.1565, allocations: 16.3 kB / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1565, allocations: 0 / 487.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1565, allocations: 8 kB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1565, allocations: 3.953 kB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1565, allocations: 3.938 kB / 487.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.1569, allocations: 263 kB / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.1569, allocations: 88.95 kB / 487.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.157, allocations: 8 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.1571, allocations: 11.98 kB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1571, allocations: 11.94 kB / 487.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1572, allocations: 8 kB / 487.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.589e-05/0.1572, allocations: 95.2 kB / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.1572, allocations: 0 / 487.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1575, allocations: 27.94 kB / 487.9 MB, free: 15.24 MB / 366.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.0001354/0.1576, allocations: 100.6 kB / 488 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.1579, allocations: 111.9 kB / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1579, allocations: 0 / 488.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.158, allocations: 59.91 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1583, allocations: 12.25 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.1588, allocations: 251.1 kB / 488.5 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1592, allocations: 0.6965 MB / 489.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.1592, allocations: 15.44 kB / 489.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1592, allocations: 0 / 489.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Templates: time 0.003073/0.1623, allocations: 1.218 MB / 490.4 MB, free: 12.71 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHold.makefile make -j1 -f ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.FirstOrderHoldCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHoldCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.FirstOrderHoldCalcHelperMain.o] Error 1