Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.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) 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(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001571/0.001571, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.955/1.955, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.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.001272/0.001272, allocations: 51.94 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1441, allocations: 46.62 MB / 327.2 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.005701/0.1498, allocations: 4.057 MB / 331.3 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1522, allocations: 1.119 MB / 332.4 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002891/0.1525, allocations: 8 kB / 332.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.1528, allocations: 71.39 kB / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.1532, allocations: 138.9 kB / 332.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.1538, allocations: 243.8 kB / 332.9 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008757/0.1547, allocations: 0.9016 MB / 333.8 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.1551, allocations: 231.5 kB / 334 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.1555, allocations: 318.9 kB / 334.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.1559, allocations: 398.3 kB / 334.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.1561, allocations: 60 kB / 334.8 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1562, allocations: 60 kB / 334.8 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.1564, allocations: 155.4 kB / 335 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.1567, allocations: 358.2 kB / 335.3 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008166/0.1576, allocations: 0.8965 MB / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1576, allocations: 0 / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1576, allocations: 0 / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.1576, allocations: 0 / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003024/0.1606, allocations: 1.188 MB / 337.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1607, allocations: 12.03 kB / 337.4 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.1609, allocations: 76 kB / 337.5 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.1615, allocations: 437.9 kB / 337.9 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.16e-05/0.1616, allocations: 49.56 kB / 338 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1617, allocations: 56.36 kB / 338 MB, free: 9.977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.1638, allocations: 0.9291 MB / 338.9 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.1639, allocations: 3.938 kB / 339 MB, free: 8.98 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.58e-05/0.1639, allocations: 24 kB / 339 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.164, allocations: 12 kB / 339 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.1667, allocations: 0.9757 MB / 340 MB, free: 7.973 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005935/0.1727, allocations: 3.059 MB / 343 MB, free: 4.781 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.1751, allocations: 0.9121 MB / 343.9 MB, free: 3.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.1762, allocations: 437.9 kB / 344.4 MB, free: 3.391 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/0.1763, allocations: 16.48 kB / 344.4 MB, free: 3.375 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.1777, allocations: 461.1 kB / 344.8 MB, free: 2.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=50): time 3.176e-06/0.1777, allocations: 0 / 344.8 MB, free: 2.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=50): time 0.003123/0.1808, allocations: 1.088 MB / 345.9 MB, free: 1.816 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002286/0.1811, allocations: 273.4 kB / 346.2 MB, free: 1.488 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008248/0.1819, allocations: 0.5017 MB / 346.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.97e-05/0.182, allocations: 37.7 kB / 346.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.1823, allocations: 335.6 kB / 347 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.1824, allocations: 169.6 kB / 347.2 MB, free: 444 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/0.1827, allocations: 142.5 kB / 347.4 MB, free: 296 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002383/0.183, allocations: 362.8 kB / 347.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.1841, allocations: 401.7 kB / 348.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.1854, allocations: 0.6573 MB / 348.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/0.1876, allocations: 0.9662 MB / 349.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1877, allocations: 0 / 349.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002867/0.1905, allocations: 1.123 MB / 350.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.1907, allocations: 71.47 kB / 350.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.1907, allocations: 4 kB / 350.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.685e-05/0.1907, allocations: 12 kB / 350.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.1918, allocations: 223.6 kB / 351.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.1918, allocations: 15.94 kB / 351.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.1929, allocations: 175.1 kB / 351.3 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-05/0.193, allocations: 36 kB / 351.4 MB, free: 12.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 10 (VIN2.signalSource.count,$PRE.VIN2.signalSource.count,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.T_start,VIN1.signalSource.count,$PRE.VIN1.signalSource.count,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 2 * 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.0004264/0.1934, allocations: 213.6 kB / 351.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.1936, allocations: 63.23 kB / 351.6 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.1937, allocations: 61.59 kB / 351.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.1938, allocations: 7.938 kB / 351.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.524e-05/0.1938, allocations: 4 kB / 351.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.1938, allocations: 3.984 kB / 351.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003592/0.1974, allocations: 1.657 MB / 353.4 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.1974, allocations: 3.938 kB / 353.4 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007696/0.1982, allocations: 147.8 kB / 353.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.1982, allocations: 4 kB / 353.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/0.1983, allocations: 12 kB / 353.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.1983, allocations: 4 kB / 353.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1983, allocations: 0 / 353.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/0.2017, allocations: 1.286 MB / 354.8 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.202, allocations: 140.3 kB / 355 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2021, allocations: 12 kB / 355 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.2028, allocations: 107.9 kB / 355.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.203, allocations: 52.31 kB / 355.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.203, allocations: 19.98 kB / 355.2 MB, free: 8.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006089/0.2037, allocations: 346.9 kB / 355.5 MB, free: 7.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.42e-07/0.2037, allocations: 0 / 355.5 MB, free: 7.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007329/0.2044, allocations: 167.7 kB / 355.7 MB, free: 7.637 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN1.signalSource.count,VIN2.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002423/0.2047, allocations: 123.2 kB / 355.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.2072, allocations: 0.9928 MB / 356.8 MB, free: 6.484 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2072, allocations: 0 / 356.8 MB, free: 6.484 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.2083, allocations: 411.1 kB / 357.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007098/0.209, allocations: 89.81 kB / 357.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.2119, allocations: 1.43 MB / 358.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.2124, allocations: 0.863 MB / 359.6 MB, free: 3.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.2128, allocations: 59.42 kB / 359.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.134e-06/0.2128, allocations: 0 / 359.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01444/0.2272, allocations: 8.616 MB / 368.2 MB, free: 10.97 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.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 OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGateCalcHelperMain.o] Error 1